From 1268fc1a44e1359f670a586e6cbc6774736f0a2d Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 24 Jan 2012 14:54:27 -0800 Subject: [PATCH] cleanup($scope): remove $$scope ref. --- src/Angular.js | 3 +-- src/jqLite.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Angular.js b/src/Angular.js index f7c3e3183c65..7955ce61fac7 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 12ef39c3449d..73420d7446c2 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) {