cleanup($scope): remove $$scope ref.

This commit is contained in:
Misko Hevery 2012-01-24 14:54:27 -08:00
parent 4804c83b7d
commit 1268fc1a44
2 changed files with 2 additions and 3 deletions

View file

@ -68,8 +68,7 @@ function shivForIE(elementName) {
return elementName;
}
var $$scope = '$scope',
$boolean = 'boolean',
var $boolean = 'boolean',
$console = 'console',
$length = 'length',
$name = 'name',

View file

@ -321,7 +321,7 @@ forEach({
},
scope: function(element) {
return jqLite(element).inheritedData($$scope);
return jqLite(element).inheritedData('$scope');
},
injector: function(element) {