X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=f3b9f0c03f7056c8f599ecb9133110bae28f658c;hb=5f0c20d0c4e6eb4fb63ad64ac5dd3323de1b6c0c;hp=706781875338e51db0e1882176522422a4b4e2ca;hpb=37f346612b940838f8e4d73e2e107df9b20d13e4;p=roojs1 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 7067818753..f3b9f0c03f 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -1,18 +1,221 @@ -/** +Roo.bootstrap = {};/** * set the version of bootstrap based on the stylesheet... * */ -Roo.bootstrap.version = ( - function() { - var ret=3; - Roo.each(document.styleSheets[0], function(s) { - if (s.href.match(/css-bootstrap4/)) { - ret=4; - } - }); - return ret; -})();/* +Roo.bootstrap.version = ( function() { + var ret=3; + Roo.each(document.styleSheets, function(s) { + if ( s.href && s.href.match(/css-bootstrap4/)) { + ret=4; + } + }); + if (ret > 3) { + Roo.Element.prototype.visibilityMode = Roo.Element.DISPLAY; + } + return ret; +})(); Roo.bootstrap.menu = Roo.bootstrap.menu || {}; +Roo.bootstrap.nav = {}; + +Roo.bootstrap.form = {};Roo.bootstrap.panel = {};Roo.bootstrap.layout = {};/* + * Based on: + * Ext JS Library 1.1.1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * + * Originally Released Under LGPL - original licence link has changed is not relivant. + * + * Fork - LGPL + *