Update URLs - mostly s/http/https/, a few moved.
[pwl6.git] / src / yuu / core.js
index e770f86..cf2f282 100644 (file)
@@ -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");