projects
/
pwl6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove another bad idea.
[pwl6.git]
/
src
/
yuu
/
core.js
diff --git
a/src/yuu/core.js
b/src/yuu/core.js
index
1d64e98
..
cf2f282
100644
(file)
--- 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
/* 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 http
s
://www.gnu.org/licenses/gpl-2.0.html
+ @source: http
s
://yukkurigames.com/yuu/
*/
(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");
@@
-160,7
+155,7
@@
req[k] = params[k];
req.onload = function () {
var status = this.status;
req[k] = params[k];
req.onload = function () {
var status = this.status;
- // status === 0 is given by
node-webkit
for success.
+ // status === 0 is given by
NW.js
for success.
if ((status >= 200 && status < 300) || status === 0)
resolve(this.response);
else
if ((status >= 200 && status < 300) || status === 0)
resolve(this.response);
else