@zenflux/core
Advanced tools
Comparing version 0.0.0-abc.17 to 0.0.0-abc.18
@@ -6,3 +6,3 @@ 'use strict'; | ||
var name = "@zenflux/core"; | ||
var version = "0.0.0-development.1"; | ||
var version = "0.0.0-abc.17"; | ||
var description = "ZenFlux core"; | ||
@@ -79,3 +79,3 @@ var author = "Leonid Vinikov <leonidvinikov@gmail.com> (https://github.com/iNewLegend)"; | ||
if (typeof __ZEN_MANAGERS__ === 'undefined' || !__ZEN_MANAGERS__) { | ||
globalThis.__ZEN_MANAGERS__ = { | ||
const managers = { | ||
initialize: () => {}, | ||
@@ -88,2 +88,3 @@ destroy: () => {}, | ||
}; | ||
globalThis.__ZEN_MANAGERS__ = managers; | ||
} | ||
@@ -90,0 +91,0 @@ |
var name = "@zenflux/core"; | ||
var version = "0.0.0-development.1"; | ||
var version = "0.0.0-abc.17"; | ||
var description = "ZenFlux core"; | ||
@@ -74,3 +74,3 @@ var author = "Leonid Vinikov <leonidvinikov@gmail.com> (https://github.com/iNewLegend)"; | ||
if (typeof __ZEN_MANAGERS__ === 'undefined' || !__ZEN_MANAGERS__) { | ||
globalThis.__ZEN_MANAGERS__ = { | ||
const managers = { | ||
initialize: () => {}, | ||
@@ -83,2 +83,3 @@ destroy: () => {}, | ||
}; | ||
globalThis.__ZEN_MANAGERS__ = managers; | ||
} | ||
@@ -85,0 +86,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@zenflux/core"]={})}(this,(function(t){"use strict";var e="0.0.0-development.1";"undefined"!=typeof __ZEN_MANAGERS__&&__ZEN_MANAGERS__||(globalThis.__ZEN_MANAGERS__={initialize:()=>{},destroy:()=>{},commands:{},controllers:{},data:{},internal:{}}) | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@zenflux/core"]={})}(this,(function(t){"use strict";var e="0.0.0-abc.17";if("undefined"==typeof __ZEN_MANAGERS__||!__ZEN_MANAGERS__){globalThis.__ZEN_MANAGERS__={initialize:()=>{},destroy:()=>{},commands:{},controllers:{},data:{},internal:{}}} | ||
/** | ||
@@ -6,3 +6,3 @@ * Function getCircularReplacer() : Reduce circular references. | ||
* @copyright https://stackoverflow.com/a/53731154 | ||
*/;const r=()=>{const t=new WeakSet;return(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return;t.add(r)}return r}},s=function(t,e){t=t.replace("#",""),e=e.replace("#","");const r=parseInt(t.substring(0,2),16),s=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16),o=parseInt(e.substring(0,2),16),a=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16);let c=255-Math.abs(r-o),l=255-Math.abs(s-a),h=255-Math.abs(n-i);return c/=255,l/=255,h/=255,(c+l+h)/3}; | ||
*/const r=()=>{const t=new WeakSet;return(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return;t.add(r)}return r}},s=function(t,e){t=t.replace("#",""),e=e.replace("#","");const r=parseInt(t.substring(0,2),16),s=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16),o=parseInt(e.substring(0,2),16),a=parseInt(e.substring(2,4),16),i=parseInt(e.substring(4,6),16);let c=255-Math.abs(r-o),l=255-Math.abs(s-a),h=255-Math.abs(n-i);return c/=255,l/=255,h/=255,(c+l+h)/3}; | ||
/** | ||
@@ -9,0 +9,0 @@ * Function hexColorDelta() : Return color difference in ratio decimal point. |
{ | ||
"name": "@zenflux/core", | ||
"version": "0.0.0-abc.17", | ||
"version": "0.0.0-abc.18", | ||
"description": "ZenFlux core", | ||
@@ -5,0 +5,0 @@ "author": "Leonid Vinikov <leonidvinikov@gmail.com> (https://github.com/iNewLegend)", |
@@ -9,3 +9,3 @@ import Commands from "./manager-bases/commands"; | ||
if ( typeof __ZEN_MANAGERS__ === 'undefined' || ! __ZEN_MANAGERS__ ) { | ||
globalThis.__ZEN_MANAGERS__ = { | ||
const managers: IManagers = { | ||
initialize: () => {}, | ||
@@ -18,3 +18,5 @@ destroy: () => {}, | ||
internal: {} as Internal, | ||
} as IManagers; | ||
} | ||
globalThis.__ZEN_MANAGERS__ = managers; | ||
} | ||
@@ -21,0 +23,0 @@ |
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
154769
4058