X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-core-debug.js;h=f040ea7bdb37afad32364d435e19a028e235cd22;hb=fde0aae2796e80b8cb4b9dde989835f624a05d02;hp=63c2c5e9238e4d2f798135c0dc97195c7090436d;hpb=9a588b6ab18e7ef7e9198a988b15784da136a914;p=roojs1 diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 63c2c5e923..f040ea7bdb 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -60,6 +60,7 @@ Roo.apply = function(o, c, defaults){ isIE = ua.indexOf("msie") > -1, isIE7 = ua.indexOf("msie 7") > -1, isIE11 = /trident.*rv\:11\./.test(ua), + isEdge = ua.indexOf("edge/") > -1, isGecko = !isSafari && ua.indexOf("gecko") > -1, isBorderBox = isIE && !isStrict, isWindows = (ua.indexOf("windows") != -1 || ua.indexOf("win32") != -1), @@ -6632,6 +6633,7 @@ Roo.onReady(function(){ var cls = [ Roo.isIE ? "roo-ie" : Roo.isIE11 ? "roo-ie11" + : Roo.isEdge ? "roo-edge" : Roo.isGecko ? "roo-gecko" : Roo.isOpera ? "roo-opera" : Roo.isSafari ? "roo-safari" : ""];