Roo.js
authoredward <edward@roojs.com>
Tue, 9 Jan 2018 06:10:18 +0000 (14:10 +0800)
committeredward <edward@roojs.com>
Tue, 9 Jan 2018 06:10:18 +0000 (14:10 +0800)
Roo.js

diff --git a/Roo.js b/Roo.js
index 59c8789..e196bfa 100644 (file)
--- a/Roo.js
+++ b/Roo.js
@@ -64,6 +64,7 @@ Roo.apply = function(o, c, defaults){
         isLinux = (ua.indexOf("linux") != -1),
         isSecure = window.location.href.toLowerCase().indexOf("https") === 0,
         isIOS = /iphone|ipad/.test(ua),
+        isAndroid = /android/.test(ua),
         isTouch =  (function() {
             try {
                 if (ua.indexOf('chrome') != -1 && ua.indexOf('android') == -1) {