diff options
| author | Pete Bacon Darwin | 2013-06-20 15:22:35 +0100 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-20 15:22:35 +0100 | 
| commit | 097947fd3bd280fcf621e36154a9d4f82896ff01 (patch) | |
| tree | ca808f0a1c5af497d1910b3adaf9af5f8eceaa6b /src/Angular.js | |
| parent | 3621896e9d7dfdba14ae0e554037868d7cbca3c8 (diff) | |
| download | angular.js-097947fd3bd280fcf621e36154a9d4f82896ff01.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 839a5a77..1a06815c 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -994,7 +994,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) { @@ -1017,7 +1017,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, ''); @@ -1025,7 +1025,7 @@ function bootstrap(element, modules) {      forEach(extraModules, function(module) {        modules.push(module);      }); -    resumeBootstrapInternal(); +    doBootstrap();    };  } | 
