Comparing version 0.25.4 to 0.25.5
@@ -139,6 +139,8 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
Eventric.prototype.initializeGlobalProjections = function() { | ||
var initializeGlobalProjectionsPromise; | ||
var initializeGlobalProjectionsPromise, startOfInitialization; | ||
if (!this._projectionService) { | ||
this._projectionService = new Projection(this._globalContext); | ||
} | ||
startOfInitialization = new Date; | ||
this._logger.debug('eventric global contexts initializing'); | ||
initializeGlobalProjectionsPromise = Promise.resolve(); | ||
@@ -152,2 +154,10 @@ this._globalProjections.forEach((function(_this) { | ||
})(this)); | ||
initializeGlobalProjectionsPromise.then((function(_this) { | ||
return function() { | ||
var durationOfInitialization, endOfInitialization; | ||
endOfInitialization = new Date; | ||
durationOfInitialization = endOfInitialization - startOfInitialization; | ||
return _this._logger.debug("eventric contexts initialized after " + durationOfInitialization + "ms"); | ||
}; | ||
})(this)); | ||
return initializeGlobalProjectionsPromise; | ||
@@ -154,0 +164,0 @@ }; |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.25.4", | ||
"version": "0.25.5", | ||
"repository": { | ||
@@ -31,3 +31,3 @@ "type": "git", | ||
"coffee-loader": "0.7.2", | ||
"coffee-script": "1.11.0", | ||
"coffee-script": "1.11.1", | ||
"es6-promise": "4.0.5", | ||
@@ -40,3 +40,3 @@ "gulp": "3.9.1", | ||
"karma": "1.3.0", | ||
"karma-mocha": "1.2.0", | ||
"karma-mocha": "1.3.0", | ||
"karma-phantomjs-launcher": "1.0.2", | ||
@@ -43,0 +43,0 @@ "karma-spec-reporter": "0.0.26", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
828703
19490