From ff57695855c635ffe81e3ed895b52542e28c97f4 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Thu, 20 Jun 2013 15:22:35 +0100 Subject: refactor(angular.bootstrap): rename internal function --- src/Angular.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Angular.js') 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(); }; } -- cgit v1.2.3