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

Commit e1f1d65

Browse files
benjamingrpetebacondarwin
authored andcommitted
style(Angular.js): remove redundant _angular
Going through the commit history on GitHub, the `_angular` is for noConflict mode, the case where you have an old reference to a variable called Angular you want to preserve. Here is the commit that added _angular in : https://github.com/angular/angular.js/commit/ 12ba6ce This feature was later removed here: 9faabd1 The variable 'made it through', it's redundant now. Closes #7215
1 parent a5df2d4 commit e1f1d65

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Angular.js

-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
-push,
1111
-toString,
1212
-ngMinErr,
13-
-_angular,
1413
-angularModule,
1514
-nodeName_,
1615
-uid,
@@ -161,8 +160,6 @@ var /** holds major version number for IE or NaN for real browsers */
161160
toString = Object.prototype.toString,
162161
ngMinErr = minErr('ng'),
163162

164-
165-
_angular = window.angular,
166163
/** @name angular */
167164
angular = window.angular || (window.angular = {}),
168165
angularModule,

0 commit comments

Comments
 (0)