diff options
| author | Pete Bacon Darwin | 2013-06-20 15:22:35 +0100 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-20 15:23:04 +0100 |
| commit | ff57695855c635ffe81e3ed895b52542e28c97f4 (patch) | |
| tree | e1d0d0f632e880bcabfc82d548d01448a8696958 /src/Angular.js | |
| parent | ae8deb124636a22ab9c50a88366082555adec487 (diff) | |
| download | angular.js-ff57695855c635ffe81e3ed895b52542e28c97f4.tar.bz2 | |
refactor(angular.bootstrap): rename internal function
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Angular.js b/src/Angular.js index 1e1fac4f..eeafb8b7 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -985,7 +985,7 @@ function angularInit(element, bootstrap) { * @returns {AUTO.$injector} Returns the newly created injector for this app. */ function bootstrap(element, modules) { - var resumeBootstrapInternal = function() { + var doBootstrap = function() { element = jqLite(element); modules = modules || []; modules.unshift(['$provide', function($provide) { @@ -1007,7 +1007,7 @@ function bootstrap(element, modules) { var NG_DEFER_BOOTSTRAP = /^NG_DEFER_BOOTSTRAP!/; if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) { - return resumeBootstrapInternal(); + return doBootstrap(); } window.name = window.name.replace(NG_DEFER_BOOTSTRAP, ''); @@ -1015,7 +1015,7 @@ function bootstrap(element, modules) { forEach(extraModules, function(module) { modules.push(module); }); - resumeBootstrapInternal(); + doBootstrap(); }; } |
