aboutsummaryrefslogtreecommitdiffstats
path: root/src/Parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Parser.js')
-rw-r--r--src/Parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser.js b/src/Parser.js
index d33ae3db..fe9671af 100644
--- a/src/Parser.js
+++ b/src/Parser.js
@@ -695,7 +695,7 @@ Parser.prototype = {
self.scope.set(entity, Entity);
if (instance) {
var document = Entity();
- document.$$anchor = instance;
+ document['$$anchor'] = instance;
self.scope.set(instance, document);
return "$anchor." + instance + ":{" +
instance + "=" + entity + ".load($anchor." + instance + ");" +