X-Git-Url: https://git.yukkurigames.com/?p=pwl6.git;a=blobdiff_plain;f=src%2Fyuu%2Fcore.js;h=cf2f282b3b918408520ffb309cabe7009d3f88ab;hp=e770f863847fd857c6a8255b6fac3131b74b9257;hb=de6ca4453d2a81955bba2436f69be912fd70efb0;hpb=2854030a3f699188676f19ba16a5400c4976f23c diff --git a/src/yuu/core.js b/src/yuu/core.js index e770f86..cf2f282 100644 --- a/src/yuu/core.js +++ b/src/yuu/core.js @@ -1,23 +1,18 @@ /* Copyright 2014 Yukkuri Games Licensed under the terms of the GNU GPL v2 or later - @license http://www.gnu.org/licenses/gpl-2.0.html - @source: http://yukkurigames.com/yuu/ + @license https://www.gnu.org/licenses/gpl-2.0.html + @source: https://yukkurigames.com/yuu/ */ (function (yuu) { "use strict"; - yuu.isSafari = function (ua) { - return /^((?!chrome).)*safari/i.test(ua || navigator.userAgent) - || navigator.standalone; - }; - yuu.require = function (m) { try { return require(m); } catch (exc) { return null; } }; - if (!Math.sign) + if (!Object.assign) require("./pre"); var yT = this.yT || require("./yT");