diff options
| author | Misko Hevery | 2010-01-24 17:10:58 -0800 |
|---|---|---|
| committer | Misko Hevery | 2010-01-24 17:10:58 -0800 |
| commit | efad9ec5be8da442af5fb3dffc08510f7a71e10f (patch) | |
| tree | b6ffdda829b47b9058f0b2ccbd6ef3465ccfe0bc /test/ParserTest.js | |
| parent | c7719c24121b500f0bc2ac7c652d8ec0de418a37 (diff) | |
| download | angular.js-efad9ec5be8da442af5fb3dffc08510f7a71e10f.tar.bz2 | |
changes to make it closure compiler compatible
Diffstat (limited to 'test/ParserTest.js')
| -rw-r--r-- | test/ParserTest.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ParserTest.js b/test/ParserTest.js index fbd9f508..2fcbc7fe 100644 --- a/test/ParserTest.js +++ b/test/ParserTest.js @@ -451,8 +451,7 @@ ParserTest.prototype.testItShouldHaveDefaultArugument = function(){ ParserTest.prototype.testReturnFunctionsAreNotBound = function(){ var scope = new Scope(); - scope.set("$datastore", new DataStore()); - scope.entity("Group"); + scope.entity("Group", new DataStore()); var Group = scope.get("Group"); assertEquals("eval Group", "function", typeof scope.eval("Group")); assertEquals("direct Group", "function", typeof Group); |
