aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-06-20 15:22:35 +0100
committerPete Bacon Darwin2013-06-20 15:23:04 +0100
commitff57695855c635ffe81e3ed895b52542e28c97f4 (patch)
treee1d0d0f632e880bcabfc82d548d01448a8696958 /src/Angular.js
parentae8deb124636a22ab9c50a88366082555adec487 (diff)
downloadangular.js-ff57695855c635ffe81e3ed895b52542e28c97f4.tar.bz2
refactor(angular.bootstrap): rename internal function
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js6
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();
};
}