isMac = (ua.indexOf("macintosh") != -1 || ua.indexOf("mac os x") != -1),
isLinux = (ua.indexOf("linux") != -1),
isSecure = window.location.href.toLowerCase().indexOf("https") === 0,
+ isIOS = /iphone|ipad\./.test(ua),
isTouch = (function() {
try {
document.createEvent("TouchEvent");
/** @type Boolean */
isMac : isMac,
/** @type Boolean */
+ isIOS : isIOS,
+ /** @type Boolean */
isTouch : isTouch,
/**
if(Roo.isLinux){
cls.push("roo-linux");
}
+ if(Roo.isIOS){
+ cls.push("roo-ios");
+ }
if(Roo.isBorderBox){
cls.push('roo-border-box');
}
o = arguments[0];
key = this.getKey(o);
}
- Roo.log(this);
- Roo.log(o);
- Roo.log(key);
if(typeof key == "undefined" || key === null){
this.length++;
this.items.push(o);