Comparing version 1.0.10 to 1.0.11
@@ -10,3 +10,7 @@ "use strict"; | ||
var callback_force = FALSE; | ||
// Set default level | ||
var log_level = 9; | ||
if (process.env.NODE_ENV === 'production') { | ||
exports.Logger.setLevel(1); | ||
} | ||
// logging methods, in "priority order". Not all console implementations | ||
@@ -13,0 +17,0 @@ // will utilize these, but they will be used in the callback passed to |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.onix=t():e.onix=t()}(this,function(){return function(e){function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}var t={};return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.i=function(e){return e},__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=25)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getType=function(e){return Object.prototype.toString.call(e)},t.isNumber=function(e){return"[object Number]"===t.getType(e)},t.isString=function(e){return"[object String]"===t.getType(e)},t.isDate=function(e){return"[object Date]"===t.getType(e)},t.isFunction=function(e){return"[object Function]"===t.getType(e)},t.isArray=function(e){return"[object Array]"===t.getType(e)},t.isEmptyObject=function(e){var t;for(t in e)return!1;return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pad=function(e,t,r,n){var u=e.length>=t?"":Array(1+t-e.length>>>0).join(r);return n?e+u:u+e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.average=function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r];return t/e.length}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.intVal=function(e,t){if(t=t||10,"string"==typeof e){var r=parseInt(e,t);return isNaN(r)?0:r}return"number"==typeof e?Math.floor(e):0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);t.justify=function(e,t,r,u,o){var i=u-e.length;return i>0&&(e=r||!o?n.pad(e,u," ",r):e.slice(0,t.length)+n.pad("",i,"0",!0)+e.slice(t.length)),e}},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(0)),__export(r(12)),__export(r(22)),__export(r(16)),__export(r(24));var n=r(7);t.Logger=n.Logger;var u=r(6);t.Intl=u.Intl},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="ru-ru",u={},o=function(e){return"en"!=e&&"en-us"!=e&&"en-uk"!=e||(n="en-us"),n="ru-ru"},i=function(e,t){if(u[e])for(var r in t)u[e][r]=t[r];else u[e]=t},a=function(e,t){var r=u[e][n][t];return r||(r=u[e]["ru-ru"][t]),r},c=function(e,t){var r=u[e][n][t];return r||(r=u[e]["ru-ru"][t]),r},s=function(){function Intl(){}return Intl}();s.setLocale=o,s.t=a,s.ts=c,s.registerStrings=i,t.Intl=s,s.setLocale(window.navigator.language)},function(e,t,r){"use strict";function is_level(e){return c>0?c>e:s.length+c<=e}function exec_callback(e){!i||!a&&o&&o.log||i.apply(n,e)}Object.defineProperty(t,"__esModule",{value:!0});var n=window,u=Array.prototype.slice,o=n.console,i=null,a=!1,c=9,s=["error","warn","info","debug","log"],f="assert clear count dir dirxml exception group groupCollapsed groupEnd profile profileEnd table time timeEnd trace".split(" "),l=[],p=function(){function LoggerClass(){for(var e=f.length;--e>=0;)this.callPassThroughMethod(f[e]);for(e=s.length;--e>=0;)this.setLevelFunctions(e,s[e])}return LoggerClass.prototype.error=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.warn=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.info=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.debug=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.log=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.callPassThroughMethod=function(e){this[e]=function(){0!==c&&o&&o[e]&&o[e].apply(o,arguments)}},LoggerClass.prototype.setLevelFunctions=function(e,t){this[t]=function(){var r=u.call(arguments),i=[t].concat(r);if(l.push(i),exec_callback(i),o&&is_level(e)){var a=1===r.length?r[0]:r;o.firebug?o[t].apply(n,a):o[t]?o[t](a):o.log(a)}}},LoggerClass.prototype.setCallback=function(){var e=u.call(arguments),t=l.length,r=t;for(i=e.shift()||null,a="boolean"==typeof e[0]&&e.shift(),r-="number"==typeof e[0]?e.shift():t;r<t;)exec_callback(l[r++])},LoggerClass.prototype.setLevel=function(e){c=e},LoggerClass}();t.LoggerClass=p,t.Logger=new p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.grep=function(e,t,r){for(var n=[],u=0,o=e.length,i=!r;u<o;u++)!t(e[u],u)!==i&&n.push(e[u]);return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inArray=function(e,t,r){var n,u=!1,o=!!r;for(n in t)if(o&&t[n]===e||!o&&t[n]==e){u=!0;break}return u}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.indexOf=function(e,t,r){return n.isArray(t)&&null!=t?t.indexOf(e,r):-1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pushif=function(e,t,r){t&&e.push(r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9);t.inArray=n.inArray;var u=r(10);t.indexOf=u.indexOf;var o=r(8);t.grep=o.grep;var i=r(11);t.pushif=i.pushif},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValueOutOfRange=function(e,t,r){return e<t||e>r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);t.stdDeviation=function(e){for(var t=n.average(e),r=0,u=0;u<e.length;u++)r+=Math.pow(e[u]-t,2);return Math.sqrt(r/(e.length-1))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureValueInRange=function(e,t,r){return e<=t?t:e>=r?r:e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3);t.intVal=n.intVal;var u=r(13);t.isValueOutOfRange=u.isValueOutOfRange;var o=r(15);t.ensureValueInRange=o.ensureValueInRange;var i=r(2);t.average=i.average;var a=r(14);t.stdDeviation=a.stdDeviation},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return""+e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluralize=function(e,t,r,n){if(n=n||r,r===n&&e>1)return r;if(e>10&&e<20)return n;var u=e%10;return 1===u?t:u<5&&0!==u?r:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),u=r(4),o=r(3),i=function(e,t,r,o,i,a,c){var s=e>>>0,f=r&&s&&{2:"0b",8:"0",10:"",16:"0x"}[t]||"",l=f+n.pad(s.toString(t),a||0,"0",!1);return u.justify(l,f,o,i,c)},a=function(e,t,r,n,o){return null!=n&&(e=e.slice(0,n)),u.justify(e,"",t,r,o)};t.sprintf=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var c=/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g,s=0,f=function(e,r,c,f,l,p,_){if("%%"==e)return"%";for(var d=!1,g="",v=!1,y=!1,b=0;c&&b<c.length;b++)switch(c.charAt(b)){case" ":g=" ";break;case"+":g="+";break;case"-":d=!0;break;case"0":v=!0;break;case"#":y=!0}if(f=f?"*"==f?+t[s++]:"*"==f.charAt(0)?+t[f.slice(1,-1)]:+f:0,f<0&&(f=-f,d=!0),!isFinite(f))throw new Error("sprintf: (minimum-)width must be finite");p=p?"*"==p?+t[s++]:"*"==p.charAt(0)?+t[p.slice(1,-1)]:+p:"fFeE".indexOf(_)>-1?6:"d"==_?0:void 0;var h=r?t[r.slice(0,-1)]:t[s++];switch(_){case"s":return a(String(h),d,f,p,v);case"c":return a(String.fromCharCode(+h),d,f,p,v);case"b":return i(h,2,y,d,f,p,v);case"o":return i(h,8,y,d,f,p,v);case"x":return i(h,16,y,d,f,p,v);case"X":return i(h,16,y,d,f,p,v).toUpperCase();case"u":return i(h,10,y,d,f,p,v);case"i":case"d":var j=o.intVal(+h),O=j<0?"-":g;return h=O+n.pad(String(Math.abs(j)),p,"0",!1),u.justify(h,O,d,f,v);case"e":case"E":case"f":case"F":case"g":case"G":var j=+h,O=j<0?"-":g,x=["toExponential","toFixed","toPrecision"]["efg".indexOf(_.toLowerCase())],M=["toString","toUpperCase"]["eEfFgG".indexOf(_)%2];return h=O+Math.abs(j)[x](p),u.justify(h,O,d,f,v)[M]();default:return e}};return e.replace(c,f)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.strRepeat=function(e,t){for(var r="",n=e.toString();--t>=0;)r+=n;return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trim=function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(20);t.strRepeat=n.strRepeat;var u=r(21);t.trim=u.trim;var o=r(1);t.pad=o.pad;var i=r(4);t.justify=i.justify;var a=r(17);t.capitalize=a.capitalize;var c=r(18);t.pluralize=c.pluralize;var s=r(19);t.sprintf=s.sprintf},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.createChainedFunction=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return n.isFunction(e)}).reduce(function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e.apply(this,r),t.apply(this,r)}},null)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(23);t.createChainedFunction=n.createChainedFunction},function(e,t,r){e.exports=r(5)}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.onix=t():e.onix=t()}(this,function(){return function(e){function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}var t={};return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.i=function(e){return e},__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=25)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getType=function(e){return Object.prototype.toString.call(e)},t.isNumber=function(e){return"[object Number]"===t.getType(e)},t.isString=function(e){return"[object String]"===t.getType(e)},t.isDate=function(e){return"[object Date]"===t.getType(e)},t.isFunction=function(e){return"[object Function]"===t.getType(e)},t.isArray=function(e){return"[object Array]"===t.getType(e)},t.isEmptyObject=function(e){var t;for(t in e)return!1;return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pad=function(e,t,r,n){var u=e.length>=t?"":Array(1+t-e.length>>>0).join(r);return n?e+u:u+e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.average=function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r];return t/e.length}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.intVal=function(e,t){if(t=t||10,"string"==typeof e){var r=parseInt(e,t);return isNaN(r)?0:r}return"number"==typeof e?Math.floor(e):0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);t.justify=function(e,t,r,u,o){var i=u-e.length;return i>0&&(e=r||!o?n.pad(e,u," ",r):e.slice(0,t.length)+n.pad("",i,"0",!0)+e.slice(t.length)),e}},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(0)),__export(r(12)),__export(r(22)),__export(r(16)),__export(r(24));var n=r(7);t.Logger=n.Logger;var u=r(6);t.Intl=u.Intl},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="ru-ru",u={},o=function(e){return"en"!=e&&"en-us"!=e&&"en-uk"!=e||(n="en-us"),n="ru-ru"},i=function(e,t){if(u[e])for(var r in t)u[e][r]=t[r];else u[e]=t},a=function(e,t){var r=u[e][n][t];return r||(r=u[e]["ru-ru"][t]),r},c=function(e,t){var r=u[e][n][t];return r||(r=u[e]["ru-ru"][t]),r},s=function(){function Intl(){}return Intl}();s.setLocale=o,s.t=a,s.ts=c,s.registerStrings=i,t.Intl=s,s.setLocale(window.navigator.language)},function(e,t,r){"use strict";function is_level(e){return c>0?c>e:s.length+c<=e}function exec_callback(e){!i||!a&&o&&o.log||i.apply(n,e)}Object.defineProperty(t,"__esModule",{value:!0});var n=window,u=Array.prototype.slice,o=n.console,i=null,a=!1,c=9;t.Logger.setLevel(1);var s=["error","warn","info","debug","log"],f="assert clear count dir dirxml exception group groupCollapsed groupEnd profile profileEnd table time timeEnd trace".split(" "),l=[],p=function(){function LoggerClass(){for(var e=f.length;--e>=0;)this.callPassThroughMethod(f[e]);for(e=s.length;--e>=0;)this.setLevelFunctions(e,s[e])}return LoggerClass.prototype.error=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.warn=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.info=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.debug=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.log=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]},LoggerClass.prototype.callPassThroughMethod=function(e){this[e]=function(){0!==c&&o&&o[e]&&o[e].apply(o,arguments)}},LoggerClass.prototype.setLevelFunctions=function(e,t){this[t]=function(){var r=u.call(arguments),i=[t].concat(r);if(l.push(i),exec_callback(i),o&&is_level(e)){var a=1===r.length?r[0]:r;o.firebug?o[t].apply(n,a):o[t]?o[t](a):o.log(a)}}},LoggerClass.prototype.setCallback=function(){var e=u.call(arguments),t=l.length,r=t;for(i=e.shift()||null,a="boolean"==typeof e[0]&&e.shift(),r-="number"==typeof e[0]?e.shift():t;r<t;)exec_callback(l[r++])},LoggerClass.prototype.setLevel=function(e){c=e},LoggerClass}();t.LoggerClass=p,t.Logger=new p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.grep=function(e,t,r){for(var n=[],u=0,o=e.length,i=!r;u<o;u++)!t(e[u],u)!==i&&n.push(e[u]);return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inArray=function(e,t,r){var n,u=!1,o=!!r;for(n in t)if(o&&t[n]===e||!o&&t[n]==e){u=!0;break}return u}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.indexOf=function(e,t,r){return n.isArray(t)&&null!=t?t.indexOf(e,r):-1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pushif=function(e,t,r){t&&e.push(r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9);t.inArray=n.inArray;var u=r(10);t.indexOf=u.indexOf;var o=r(8);t.grep=o.grep;var i=r(11);t.pushif=i.pushif},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValueOutOfRange=function(e,t,r){return e<t||e>r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);t.stdDeviation=function(e){for(var t=n.average(e),r=0,u=0;u<e.length;u++)r+=Math.pow(e[u]-t,2);return Math.sqrt(r/(e.length-1))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureValueInRange=function(e,t,r){return e<=t?t:e>=r?r:e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3);t.intVal=n.intVal;var u=r(13);t.isValueOutOfRange=u.isValueOutOfRange;var o=r(15);t.ensureValueInRange=o.ensureValueInRange;var i=r(2);t.average=i.average;var a=r(14);t.stdDeviation=a.stdDeviation},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return""+e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluralize=function(e,t,r,n){if(n=n||r,r===n&&e>1)return r;if(e>10&&e<20)return n;var u=e%10;return 1===u?t:u<5&&0!==u?r:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),u=r(4),o=r(3),i=function(e,t,r,o,i,a,c){var s=e>>>0,f=r&&s&&{2:"0b",8:"0",10:"",16:"0x"}[t]||"",l=f+n.pad(s.toString(t),a||0,"0",!1);return u.justify(l,f,o,i,c)},a=function(e,t,r,n,o){return null!=n&&(e=e.slice(0,n)),u.justify(e,"",t,r,o)};t.sprintf=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var c=/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g,s=0,f=function(e,r,c,f,l,p,_){if("%%"==e)return"%";for(var d=!1,g="",v=!1,y=!1,b=0;c&&b<c.length;b++)switch(c.charAt(b)){case" ":g=" ";break;case"+":g="+";break;case"-":d=!0;break;case"0":v=!0;break;case"#":y=!0}if(f=f?"*"==f?+t[s++]:"*"==f.charAt(0)?+t[f.slice(1,-1)]:+f:0,f<0&&(f=-f,d=!0),!isFinite(f))throw new Error("sprintf: (minimum-)width must be finite");p=p?"*"==p?+t[s++]:"*"==p.charAt(0)?+t[p.slice(1,-1)]:+p:"fFeE".indexOf(_)>-1?6:"d"==_?0:void 0;var h=r?t[r.slice(0,-1)]:t[s++];switch(_){case"s":return a(String(h),d,f,p,v);case"c":return a(String.fromCharCode(+h),d,f,p,v);case"b":return i(h,2,y,d,f,p,v);case"o":return i(h,8,y,d,f,p,v);case"x":return i(h,16,y,d,f,p,v);case"X":return i(h,16,y,d,f,p,v).toUpperCase();case"u":return i(h,10,y,d,f,p,v);case"i":case"d":var j=o.intVal(+h),O=j<0?"-":g;return h=O+n.pad(String(Math.abs(j)),p,"0",!1),u.justify(h,O,d,f,v);case"e":case"E":case"f":case"F":case"g":case"G":var j=+h,O=j<0?"-":g,x=["toExponential","toFixed","toPrecision"]["efg".indexOf(_.toLowerCase())],M=["toString","toUpperCase"]["eEfFgG".indexOf(_)%2];return h=O+Math.abs(j)[x](p),u.justify(h,O,d,f,v)[M]();default:return e}};return e.replace(c,f)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.strRepeat=function(e,t){for(var r="",n=e.toString();--t>=0;)r+=n;return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trim=function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(20);t.strRepeat=n.strRepeat;var u=r(21);t.trim=u.trim;var o=r(1);t.pad=o.pad;var i=r(4);t.justify=i.justify;var a=r(17);t.capitalize=a.capitalize;var c=r(18);t.pluralize=c.pluralize;var s=r(19);t.sprintf=s.sprintf},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.createChainedFunction=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return n.isFunction(e)}).reduce(function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e.apply(this,r),t.apply(this,r)}},null)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(23);t.createChainedFunction=n.createChainedFunction},function(e,t,r){e.exports=r(5)}])}); |
{ | ||
"name": "onix-core", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Onix library core", | ||
@@ -5,0 +5,0 @@ "main": "built/index.js", |
@@ -11,3 +11,7 @@ const wnd: Window = window; | ||
// Set default level | ||
let log_level = 9; | ||
if (process.env.NODE_ENV === 'production') { | ||
Logger.setLevel(1); | ||
} | ||
@@ -14,0 +18,0 @@ // logging methods, in "priority order". Not all console implementations |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74788
1092