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

Commit 097947f

Browse files
refactor(angular.bootstrap): rename internal function
1 parent 3621896 commit 097947f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Angular.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ function angularInit(element, bootstrap) {
994994
* @returns {AUTO.$injector} Returns the newly created injector for this app.
995995
*/
996996
function bootstrap(element, modules) {
997-
var resumeBootstrapInternal = function() {
997+
var doBootstrap = function() {
998998
element = jqLite(element);
999999
modules = modules || [];
10001000
modules.unshift(['$provide', function($provide) {
@@ -1017,15 +1017,15 @@ function bootstrap(element, modules) {
10171017
var NG_DEFER_BOOTSTRAP = /^NG_DEFER_BOOTSTRAP!/;
10181018

10191019
if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) {
1020-
return resumeBootstrapInternal();
1020+
return doBootstrap();
10211021
}
10221022

10231023
window.name = window.name.replace(NG_DEFER_BOOTSTRAP, '');
10241024
angular.resumeBootstrap = function(extraModules) {
10251025
forEach(extraModules, function(module) {
10261026
modules.push(module);
10271027
});
1028-
resumeBootstrapInternal();
1028+
doBootstrap();
10291029
};
10301030
}
10311031

0 commit comments

Comments
 (0)