iojs adds Math.sign, still lacks Object.assign.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 19 Apr 2015 20:15:42 +0000 (22:15 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 19 Apr 2015 20:15:42 +0000 (22:15 +0200)
src/yuu/core.js

index f4b40a231ab6433cd02d78de3e553fbd44fb94a8..d34d2016010253b77c199701306fb3240d9e1fd4 100644 (file)
@@ -12,7 +12,7 @@
         catch (exc) { return null; }
     };
 
-    if (!Math.sign)
+    if (!Object.assign)
         require("./pre");
 
     var yT = this.yT || require("./yT");