projects
/
pwl6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mobile Safari has a different user agent when standalone.
[pwl6.git]
/
src
/
yuu
/
core.js
diff --git
a/src/yuu/core.js
b/src/yuu/core.js
index
24e3f2b
..
1d64e98
100644
(file)
--- a/
src/yuu/core.js
+++ b/
src/yuu/core.js
@@
-8,7
+8,8
@@
"use strict";
yuu.isSafari = function (ua) {
- return /^((?!chrome).)*safari/i.test(ua || navigator.userAgent);
+ return /^((?!chrome).)*safari/i.test(ua || navigator.userAgent)
+ || navigator.standalone;
};
yuu.require = function (m) {