mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-25 22:33:44 +00:00
cleanup($scope): remove $$scope ref.
This commit is contained in:
parent
4804c83b7d
commit
1268fc1a44
2 changed files with 2 additions and 3 deletions
|
|
@ -68,8 +68,7 @@ function shivForIE(elementName) {
|
||||||
return elementName;
|
return elementName;
|
||||||
}
|
}
|
||||||
|
|
||||||
var $$scope = '$scope',
|
var $boolean = 'boolean',
|
||||||
$boolean = 'boolean',
|
|
||||||
$console = 'console',
|
$console = 'console',
|
||||||
$length = 'length',
|
$length = 'length',
|
||||||
$name = 'name',
|
$name = 'name',
|
||||||
|
|
|
||||||
|
|
@ -321,7 +321,7 @@ forEach({
|
||||||
},
|
},
|
||||||
|
|
||||||
scope: function(element) {
|
scope: function(element) {
|
||||||
return jqLite(element).inheritedData($$scope);
|
return jqLite(element).inheritedData('$scope');
|
||||||
},
|
},
|
||||||
|
|
||||||
injector: function(element) {
|
injector: function(element) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue