projects
/
pwl6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate from node-webkit to NW.js.
[pwl6.git]
/
src
/
yuu
/
core.js
diff --git
a/src/yuu/core.js
b/src/yuu/core.js
index
1d64e98
..
e770f86
100644
(file)
--- a/
src/yuu/core.js
+++ b/
src/yuu/core.js
@@
-160,7
+160,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