aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisko Hevery2012-01-24 14:54:27 -0800
committerMisko Hevery2012-01-25 11:54:00 -0800
commit1268fc1a44e1359f670a586e6cbc6774736f0a2d (patch)
treeee7b660c7de7fca0e441286e0dc4fb1568e19a2e
parent4804c83b7db5770d5d02eea9eea4cc012b4aa524 (diff)
downloadangular.js-1268fc1a44e1359f670a586e6cbc6774736f0a2d.tar.bz2
cleanup($scope): remove $$scope ref.
-rw-r--r--src/Angular.js3
-rw-r--r--src/jqLite.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Angular.js b/src/Angular.js
index f7c3e318..7955ce61 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -68,8 +68,7 @@ function shivForIE(elementName) {
return elementName;
}
-var $$scope = '$scope',
- $boolean = 'boolean',
+var $boolean = 'boolean',
$console = 'console',
$length = 'length',
$name = 'name',
diff --git a/src/jqLite.js b/src/jqLite.js
index 12ef39c3..73420d74 100644
--- a/src/jqLite.js
+++ b/src/jqLite.js
@@ -321,7 +321,7 @@ forEach({
},
scope: function(element) {
- return jqLite(element).inheritedData($$scope);
+ return jqLite(element).inheritedData('$scope');
},
injector: function(element) {