iojs adds Math.sign, still lacks Object.assign.
[pwl6.git] / src / yuu / core.js
index f4b40a2..d34d201 100644 (file)
@@ -12,7 +12,7 @@
         catch (exc) { return null; }
     };
 
-    if (!Math.sign)
+    if (!Object.assign)
         require("./pre");
 
     var yT = this.yT || require("./yT");