mapscreenr
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -1,1 +0,1 @@ | ||
define(function(){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){var r,n;r=[i,e,i(1)],void 0===(n=function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}(i)}.apply(e,r))||(t.exports=n)},function(t,e,i){var r;void 0===(r=function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){if(this.variables={},void 0!==t.variables)for(var e in t.variables)({}).hasOwnProperty.call(t.variables,e)&&(this.variables[e]=t.variables[e]);this.height=t.height,this.width=t.width,this.variableFunctions=void 0===t.variableFunctions?{}:t.variableFunctions}return t.prototype.clearScreen=function(){this.left=0,this.top=0,this.right=this.width,this.bottom=this.height,this.setMiddleX(),this.setMiddleY(),this.setVariables()},t.prototype.setMiddleX=function(){this.middleX=(this.left+this.right)/2},t.prototype.setMiddleY=function(){this.middleY=(this.top+this.bottom)/2},t.prototype.setVariables=function(){for(var t in this.variableFunctions)this.setVariable(t)},t.prototype.setVariable=function(t,e){this.variables[t]=1===arguments.length?this.variableFunctions[t]():e},t.prototype.shift=function(t,e){0!==t&&this.shiftX(t),0!==e&&this.shiftY(e)},t.prototype.shiftX=function(t){this.left+=t,this.right+=t},t.prototype.shiftY=function(t){this.top+=t,this.bottom+=t},t}();e.MapScreenr=i}.apply(e,[i,e]))||(t.exports=r)}])}); | ||
define((function(){return function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,i){var r,n;r=[i,e,i(1)],void 0===(n=function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}(i)}.apply(e,r))||(t.exports=n)},function(t,e,i){var r;void 0===(r=function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){if(this.variables={},void 0!==t.variables)for(var e in t.variables)({}).hasOwnProperty.call(t.variables,e)&&(this.variables[e]=t.variables[e]);this.height=t.height,this.width=t.width,this.variableFunctions=void 0===t.variableFunctions?{}:t.variableFunctions}return t.prototype.clearScreen=function(){this.left=0,this.top=0,this.right=this.width,this.bottom=this.height,this.setMiddleX(),this.setMiddleY(),this.setVariables()},t.prototype.setMiddleX=function(){this.middleX=(this.left+this.right)/2},t.prototype.setMiddleY=function(){this.middleY=(this.top+this.bottom)/2},t.prototype.setVariables=function(){for(var t in this.variableFunctions)this.setVariable(t)},t.prototype.setVariable=function(t,e){this.variables[t]=1===arguments.length?this.variableFunctions[t]():e},t.prototype.shift=function(t,e){0!==t&&this.shiftX(t),0!==e&&this.shiftY(e)},t.prototype.shiftX=function(t){this.left+=t,this.right+=t},t.prototype.shiftY=function(t){this.top+=t,this.bottom+=t},t}();e.MapScreenr=i}.apply(e,[i,e]))||(t.exports=r)}])})); |
@@ -23,3 +23,3 @@ { | ||
"istanbul": "^0.4.5", | ||
"lolex": "^3.1.0", | ||
"lolex": "^4.0.1", | ||
"mkdirp": "^0.5.1", | ||
@@ -86,3 +86,3 @@ "mocha": "^6.1.3", | ||
"types": "./src/index.d.ts", | ||
"version": "0.7.3" | ||
"version": "0.7.4" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25218
0