template-engine
Advanced tools
Comparing version 0.2.17 to 0.2.19
@@ -247,3 +247,3 @@ var Event = require('core').Event.Event; | ||
} else { | ||
console.error(DriverSession.Exception.INVALID_HOST); | ||
console.warn(DriverSession.Exception.INVALID_HOST, headers.host); | ||
} | ||
@@ -254,3 +254,3 @@ //check if cookies are valid | ||
} else { | ||
console.error(DriverSession.Exception.COOKIES_NOT_FOUND); | ||
console.warn(DriverSession.Exception.COOKIES_NOT_FOUND); | ||
} | ||
@@ -290,3 +290,3 @@ | ||
} else { | ||
console.error(DriverSession.Exception.INVALID_UBI); | ||
console.warn(DriverSession.Exception.INVALID_UBI, cookies.onet_ubi); | ||
} | ||
@@ -307,3 +307,3 @@ | ||
if(this._cookieSid === null && this._cookieCid === null) { | ||
console.error(DriverSession.Exception.INVALID_COOKIES); | ||
console.warn(DriverSession.Exception.INVALID_COOKIES, headerCookies); | ||
} | ||
@@ -452,3 +452,3 @@ }; | ||
sessionRequest.socket.on('timeout', function() { | ||
console.error('Session broker error: timeout'); | ||
console.warn('Session broker error: timeout'); | ||
sessionRequest.abort(); | ||
@@ -459,3 +459,3 @@ that.dispatchEvent(new Event(DriverAbstract.LOADED, DriverSession.USER_NOT_LOGGED)); | ||
sessionRequest.on('error', function(e) { | ||
console.error('Session broker error: ', e.message); | ||
console.warn('Session broker error: ', e.message); | ||
that.dispatchEvent(new Event(DriverAbstract.LOADED, DriverSession.USER_NOT_LOGGED)); | ||
@@ -536,8 +536,8 @@ }); | ||
/** | ||
* @private | ||
*/ | ||
* @private | ||
*/ | ||
DriverSession.prototype._onLoaderError = function(e) { | ||
this._opalResTime = Date.now() - this._opalResTime; | ||
console.info('OPAL Response (onError) to DriverSession.OPENAPI_URL time: ', this._opalResTime); | ||
console.error('OPAL Error: ', e.message); | ||
console.warn('OPAL Error: DriverSession.OPENAPI_URL ->', e.message); | ||
this._userData.inbox_info = 0; | ||
@@ -544,0 +544,0 @@ this.dispatchEvent(new Event(DriverAbstract.LOADED, this._userData)); |
@@ -14,3 +14,3 @@ var Event = require('core').Event.Event; | ||
var absoluteUrl = this._config._config.cssAbsoluteUrl; | ||
var content = data.replace(/url\s*\([\s\'\"]*([^\s\'\"(http)].*[^\s\'\"\)])[\s\'\"]*\)/g, "url('" + absoluteUrl + "$1')") | ||
var content = data.replace(/url\s*\([\s\'\"]*[^data]([^\s\'\"http].*[^\s\'\"\)])[\s\'\"]*\)/g, "url('" + absoluteUrl + "$1')") | ||
console.log(' -- CSS_REWRITE_ABSOULTE_URL dispatch READY'); | ||
@@ -17,0 +17,0 @@ this.dispatchEvent(new Event(PluginAbstract.Event.READY, content)); |
{ | ||
"name": "template-engine", | ||
"version": "0.2.17", | ||
"version": "0.2.19", | ||
"description": "Engine that renders templates of any kind", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
5975235