projects
/
pwl6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iojs adds Math.sign, still lacks Object.assign.
[pwl6.git]
/
src
/
yuu
/
core.js
diff --git
a/src/yuu/core.js
b/src/yuu/core.js
index
e770f86
..
d34d201
100644
(file)
--- a/
src/yuu/core.js
+++ b/
src/yuu/core.js
@@
-7,17
+7,12
@@
(function (yuu) {
"use strict";
(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; }
};
yuu.require = function (m) {
try { return require(m); }
catch (exc) { return null; }
};
- if (!
Math.
sign)
+ if (!
Object.as
sign)
require("./pre");
var yT = this.yT || require("./yT");
require("./pre");
var yT = this.yT || require("./yT");