mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +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;
|
||||
}
|
||||
|
||||
var $$scope = '$scope',
|
||||
$boolean = 'boolean',
|
||||
var $boolean = 'boolean',
|
||||
$console = 'console',
|
||||
$length = 'length',
|
||||
$name = 'name',
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ forEach({
|
|||
},
|
||||
|
||||
scope: function(element) {
|
||||
return jqLite(element).inheritedData($$scope);
|
||||
return jqLite(element).inheritedData('$scope');
|
||||
},
|
||||
|
||||
injector: function(element) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue