Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
cleanup($scope): remove $$scope ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Jan 25, 2012
1 parent 4804c83 commit 1268fc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ function shivForIE(elementName) {
return elementName;
}

var $$scope = '$scope',
$boolean = 'boolean',
var $boolean = 'boolean',
$console = 'console',
$length = 'length',
$name = 'name',
Expand Down
2 changes: 1 addition & 1 deletion src/jqLite.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ forEach({
},

scope: function(element) {
return jqLite(element).inheritedData($$scope);
return jqLite(element).inheritedData('$scope');
},

injector: function(element) {
Expand Down

0 comments on commit 1268fc1

Please sign in to comment.