@pixi/settings
Advanced tools
Comparing version 5.0.3 to 5.0.4
/*! | ||
* @pixi/settings - v5.0.3 | ||
* Compiled Sun, 19 May 2019 19:03:31 UTC | ||
* @pixi/settings - v5.0.4 | ||
* Compiled Fri, 07 Jun 2019 17:17:49 UTC | ||
* | ||
@@ -31,4 +31,5 @@ * @pixi/settings is licensed under the MIT License. | ||
var isMobile_min = createCommonjsModule(function (module) { | ||
!function(e){var n=/iPhone/i,t=/iPod/i,r=/iPad/i,a=/\bAndroid(?:.+)Mobile\b/i,p=/Android/i,l=/\bAndroid(?:.+)SD4930UR\b/i,b=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,f=/Windows Phone/i,u=/\bWindows(?:.+)ARM\b/i,c=/BlackBerry/i,s=/BB10/i,v=/Opera Mini/i,h=/\b(CriOS|Chrome)(?:.+)Mobile/i,w=/\Mobile(?:.+)Firefox\b/i;function m(e,i){return e.test(i)}function i(e){var i=e||("undefined"!=typeof navigator?navigator.userAgent:""),o=i.split("[FBAN");void 0!==o[1]&&(i=o[0]),void 0!==(o=i.split("Twitter"))[1]&&(i=o[0]);var d={apple:{phone:m(n,i)&&!m(f,i),ipod:m(t,i),tablet:!m(n,i)&&m(r,i)&&!m(f,i),device:(m(n,i)||m(t,i)||m(r,i))&&!m(f,i)},amazon:{phone:m(l,i),tablet:!m(l,i)&&m(b,i),device:m(l,i)||m(b,i)},android:{phone:!m(f,i)&&m(l,i)||!m(f,i)&&m(a,i),tablet:!m(f,i)&&!m(l,i)&&!m(a,i)&&(m(b,i)||m(p,i)),device:!m(f,i)&&(m(l,i)||m(b,i)||m(a,i)||m(p,i))},windows:{phone:m(f,i),tablet:m(u,i),device:m(f,i)||m(u,i)},other:{blackberry:m(c,i),blackberry10:m(s,i),opera:m(v,i),firefox:m(w,i),chrome:m(h,i),device:m(c,i)||m(s,i)||m(v,i)||m(w,i)||m(h,i)}};return d.any=d.apple.device||d.android.device||d.windows.device||d.other.device,d.phone=d.apple.phone||d.android.phone||d.windows.phone,d.tablet=d.apple.tablet||d.android.tablet||d.windows.tablet,d}"undefined"!='object'&&module.exports&&"undefined"==typeof window?module.exports=i:"undefined"!='object'&&module.exports&&"undefined"!=typeof window?module.exports=i():"function"==typeof undefined&&undefined.amd?undefined([],e.isMobile=i()):e.isMobile=i();}(commonjsGlobal); | ||
!function(e){var n=/iPhone/i,t=/iPod/i,r=/iPad/i,a=/\bAndroid(?:.+)Mobile\b/i,p=/Android/i,b=/\bAndroid(?:.+)SD4930UR\b/i,l=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,f=/Windows Phone/i,s=/\bWindows(?:.+)ARM\b/i,u=/BlackBerry/i,c=/BB10/i,h=/Opera Mini/i,v=/\b(CriOS|Chrome)(?:.+)Mobile/i,w=/Mobile(?:.+)Firefox\b/i;function m(e,i){return e.test(i)}function i(e){var i=e||("undefined"!=typeof navigator?navigator.userAgent:""),o=i.split("[FBAN");void 0!==o[1]&&(i=o[0]),void 0!==(o=i.split("Twitter"))[1]&&(i=o[0]);var d={apple:{phone:m(n,i)&&!m(f,i),ipod:m(t,i),tablet:!m(n,i)&&m(r,i)&&!m(f,i),device:(m(n,i)||m(t,i)||m(r,i))&&!m(f,i)},amazon:{phone:m(b,i),tablet:!m(b,i)&&m(l,i),device:m(b,i)||m(l,i)},android:{phone:!m(f,i)&&m(b,i)||!m(f,i)&&m(a,i),tablet:!m(f,i)&&!m(b,i)&&!m(a,i)&&(m(l,i)||m(p,i)),device:!m(f,i)&&(m(b,i)||m(l,i)||m(a,i)||m(p,i))||m(/\bokhttp\b/i,i)},windows:{phone:m(f,i),tablet:m(s,i),device:m(f,i)||m(s,i)},other:{blackberry:m(u,i),blackberry10:m(c,i),opera:m(h,i),firefox:m(w,i),chrome:m(v,i),device:m(u,i)||m(c,i)||m(h,i)||m(w,i)||m(v,i)}};return d.any=d.apple.device||d.android.device||d.windows.device||d.other.device,d.phone=d.apple.phone||d.android.phone||d.windows.phone,d.tablet=d.apple.tablet||d.android.tablet||d.windows.tablet,d}"undefined"!='object'&&module.exports&&"undefined"==typeof window?module.exports=i:"undefined"!='object'&&module.exports&&"undefined"!=typeof window?(module.exports=i(),module.exports.isMobile=i):"function"==typeof undefined&&undefined.amd?undefined([],e.isMobile=i()):e.isMobile=i();}(commonjsGlobal); | ||
}); | ||
var isMobile_min_1 = isMobile_min.isMobile; | ||
@@ -35,0 +36,0 @@ /** |
/*! | ||
* @pixi/settings - v5.0.3 | ||
* Compiled Sun, 19 May 2019 19:03:31 UTC | ||
* @pixi/settings - v5.0.4 | ||
* Compiled Fri, 07 Jun 2019 17:17:49 UTC | ||
* | ||
@@ -8,3 +8,3 @@ * @pixi/settings is licensed under the MIT License. | ||
*/ | ||
this.PIXI=this.PIXI||{};var _pixi_settings=function(e){"use strict";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var n,o=(function(e){!function(i){var n=/iPhone/i,o=/iPod/i,t=/iPad/i,r=/\bAndroid(?:.+)Mobile\b/i,d=/Android/i,a=/\bAndroid(?:.+)SD4930UR\b/i,p=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,s=/Windows Phone/i,l=/\bWindows(?:.+)ARM\b/i,b=/BlackBerry/i,f=/BB10/i,c=/Opera Mini/i,v=/\b(CriOS|Chrome)(?:.+)Mobile/i,h=/\Mobile(?:.+)Firefox\b/i;function E(e,i){return e.test(i)}function _(e){var i=e||("undefined"!=typeof navigator?navigator.userAgent:""),_=i.split("[FBAN");void 0!==_[1]&&(i=_[0]),void 0!==(_=i.split("Twitter"))[1]&&(i=_[0]);var A={apple:{phone:E(n,i)&&!E(s,i),ipod:E(o,i),tablet:!E(n,i)&&E(t,i)&&!E(s,i),device:(E(n,i)||E(o,i)||E(t,i))&&!E(s,i)},amazon:{phone:E(a,i),tablet:!E(a,i)&&E(p,i),device:E(a,i)||E(p,i)},android:{phone:!E(s,i)&&E(a,i)||!E(s,i)&&E(r,i),tablet:!E(s,i)&&!E(a,i)&&!E(r,i)&&(E(p,i)||E(d,i)),device:!E(s,i)&&(E(a,i)||E(p,i)||E(r,i)||E(d,i))},windows:{phone:E(s,i),tablet:E(l,i),device:E(s,i)||E(l,i)},other:{blackberry:E(b,i),blackberry10:E(f,i),opera:E(c,i),firefox:E(h,i),chrome:E(v,i),device:E(b,i)||E(f,i)||E(c,i)||E(h,i)||E(v,i)}};return A.any=A.apple.device||A.android.device||A.windows.device||A.other.device,A.phone=A.apple.phone||A.android.phone||A.windows.phone,A.tablet=A.apple.tablet||A.android.tablet||A.windows.tablet,A}e.exports&&"undefined"==typeof window?e.exports=_:e.exports&&"undefined"!=typeof window?e.exports=_():i.isMobile=_()}(i)}(n={exports:{}},n.exports),n.exports);var t={MIPMAP_TEXTURES:1,RESOLUTION:1,FILTER_RESOLUTION:1,SPRITE_MAX_TEXTURES:function(e){var i=!0;if(o.tablet||o.phone){if(i=!1,o.apple.device){var n=navigator.userAgent.match(/OS (\d+)_(\d+)?/);n&&parseInt(n[1],10)>=11&&(i=!0)}if(o.android.device){var t=navigator.userAgent.match(/Android\s([0-9.]*)/);t&&parseInt(t[1],10)>=7&&(i=!0)}}return i?e:4}(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,forceFXAA:!1,autoDensity:!1,transparent:!1,backgroundColor:0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:0,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:33071,SCALE_MODE:1,PRECISION_VERTEX:"highp",PRECISION_FRAGMENT:o.apple.device?"highp":"mediump",CAN_UPLOAD_SAME_BUFFER:!o.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};return e.isMobile=o,e.settings=t,e}({});Object.assign(this.PIXI,_pixi_settings); | ||
this.PIXI=this.PIXI||{};var _pixi_settings=function(e){"use strict";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var o,n=(function(e){!function(i){var o=/iPhone/i,n=/iPod/i,t=/iPad/i,r=/\bAndroid(?:.+)Mobile\b/i,d=/Android/i,a=/\bAndroid(?:.+)SD4930UR\b/i,p=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,s=/Windows Phone/i,l=/\bWindows(?:.+)ARM\b/i,b=/BlackBerry/i,f=/BB10/i,c=/Opera Mini/i,v=/\b(CriOS|Chrome)(?:.+)Mobile/i,h=/Mobile(?:.+)Firefox\b/i;function E(e,i){return e.test(i)}function _(e){var i=e||("undefined"!=typeof navigator?navigator.userAgent:""),_=i.split("[FBAN");void 0!==_[1]&&(i=_[0]),void 0!==(_=i.split("Twitter"))[1]&&(i=_[0]);var A={apple:{phone:E(o,i)&&!E(s,i),ipod:E(n,i),tablet:!E(o,i)&&E(t,i)&&!E(s,i),device:(E(o,i)||E(n,i)||E(t,i))&&!E(s,i)},amazon:{phone:E(a,i),tablet:!E(a,i)&&E(p,i),device:E(a,i)||E(p,i)},android:{phone:!E(s,i)&&E(a,i)||!E(s,i)&&E(r,i),tablet:!E(s,i)&&!E(a,i)&&!E(r,i)&&(E(p,i)||E(d,i)),device:!E(s,i)&&(E(a,i)||E(p,i)||E(r,i)||E(d,i))||E(/\bokhttp\b/i,i)},windows:{phone:E(s,i),tablet:E(l,i),device:E(s,i)||E(l,i)},other:{blackberry:E(b,i),blackberry10:E(f,i),opera:E(c,i),firefox:E(h,i),chrome:E(v,i),device:E(b,i)||E(f,i)||E(c,i)||E(h,i)||E(v,i)}};return A.any=A.apple.device||A.android.device||A.windows.device||A.other.device,A.phone=A.apple.phone||A.android.phone||A.windows.phone,A.tablet=A.apple.tablet||A.android.tablet||A.windows.tablet,A}e.exports&&"undefined"==typeof window?e.exports=_:e.exports&&"undefined"!=typeof window?(e.exports=_(),e.exports.isMobile=_):i.isMobile=_()}(i)}(o={exports:{}},o.exports),o.exports);n.isMobile;var t={MIPMAP_TEXTURES:1,RESOLUTION:1,FILTER_RESOLUTION:1,SPRITE_MAX_TEXTURES:function(e){var i=!0;if(n.tablet||n.phone){if(i=!1,n.apple.device){var o=navigator.userAgent.match(/OS (\d+)_(\d+)?/);o&&parseInt(o[1],10)>=11&&(i=!0)}if(n.android.device){var t=navigator.userAgent.match(/Android\s([0-9.]*)/);t&&parseInt(t[1],10)>=7&&(i=!0)}}return i?e:4}(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,forceFXAA:!1,autoDensity:!1,transparent:!1,backgroundColor:0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1},GC_MODE:0,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:33071,SCALE_MODE:1,PRECISION_VERTEX:"highp",PRECISION_FRAGMENT:n.apple.device?"highp":"mediump",CAN_UPLOAD_SAME_BUFFER:!n.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};return e.isMobile=n,e.settings=t,e}({});Object.assign(this.PIXI,_pixi_settings); | ||
//# sourceMappingURL=settings.min.js.map |
/*! | ||
* @pixi/settings - v5.0.3 | ||
* Compiled Sun, 19 May 2019 19:03:31 UTC | ||
* @pixi/settings - v5.0.4 | ||
* Compiled Fri, 07 Jun 2019 17:17:49 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/settings is licensed under the MIT License. |
/*! | ||
* @pixi/settings - v5.0.3 | ||
* Compiled Sun, 19 May 2019 19:03:31 UTC | ||
* @pixi/settings - v5.0.4 | ||
* Compiled Fri, 07 Jun 2019 17:17:49 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/settings is licensed under the MIT License. |
{ | ||
"name": "@pixi/settings", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"main": "lib/settings.js", | ||
@@ -35,3 +35,3 @@ "module": "lib/settings.es.js", | ||
}, | ||
"gitHead": "ba03f57001cd8bae3ae3644911cd513c68184e7c" | ||
"gitHead": "7a771ca5f05eeba62222b53446d0c2bdfcac37f7" | ||
} |
Sorry, the diff of this file is not supported yet
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
81067
877