mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-10 22:44:01 +08:00
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/12ba6cec4fThis feature was later removed here:9faabd1ba0The variable 'made it through', it's redundant now. Closes #7215
This commit is contained in:
committed by
Peter Bacon Darwin
parent
a5df2d4e36
commit
e1f1d65d0c
@@ -10,7 +10,6 @@
|
||||
-push,
|
||||
-toString,
|
||||
-ngMinErr,
|
||||
-_angular,
|
||||
-angularModule,
|
||||
-nodeName_,
|
||||
-uid,
|
||||
@@ -161,8 +160,6 @@ var /** holds major version number for IE or NaN for real browsers */
|
||||
toString = Object.prototype.toString,
|
||||
ngMinErr = minErr('ng'),
|
||||
|
||||
|
||||
_angular = window.angular,
|
||||
/** @name angular */
|
||||
angular = window.angular || (window.angular = {}),
|
||||
angularModule,
|
||||
|
||||
Reference in New Issue
Block a user