aboutsummaryrefslogtreecommitdiffstats
path: root/test/ParserTest.js
diff options
context:
space:
mode:
authorMisko Hevery2010-01-24 17:10:58 -0800
committerMisko Hevery2010-01-24 17:10:58 -0800
commitefad9ec5be8da442af5fb3dffc08510f7a71e10f (patch)
treeb6ffdda829b47b9058f0b2ccbd6ef3465ccfe0bc /test/ParserTest.js
parentc7719c24121b500f0bc2ac7c652d8ec0de418a37 (diff)
downloadangular.js-efad9ec5be8da442af5fb3dffc08510f7a71e10f.tar.bz2
changes to make it closure compiler compatible
Diffstat (limited to 'test/ParserTest.js')
-rw-r--r--test/ParserTest.js3
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);