MDL-68833 theme_boost: Add ./pending event checks back
[moodle.git] / theme / boost / amd / build / loader.min.js
1 define ("theme_boost/loader",["exports","jquery","./aria","./bootstrap/index","core/custom_interaction_events","core/pending","./scroll","./pending"],function(a,b,c,d,e,f,g,h){"use strict";Object.defineProperty(a,"__esModule",{value:!0});Object.defineProperty(a,"Bootstrap",{enumerable:!0,get:function get(){return d.default}});a.init=void 0;b=i(b);c=i(c);d=i(d);e=i(e);f=i(f);g=i(g);h=i(h);function i(a){return a&&a.__esModule?a:{default:a}}var j=function(){(0,b.default)("a[data-toggle=\"tab\"]").on("shown.bs.tab",function(a){var c=(0,b.default)(a.target).attr("href");if(history.replaceState){history.replaceState(null,null,c)}else{location.hash=c}});var a=window.location.hash;if(a){(0,b.default)(".nav-link[href=\""+a+"\"]").tab("show")}},k=function(){(0,b.default)("body").popover({selector:"[data-toggle=\"popover\"]",trigger:"focus hover",placement:"auto"});e.default.define((0,b.default)("body"),[e.default.events.escape]);(0,b.default)("body").on(e.default.events.escape,"[data-toggle=popover]",function(){(0,b.default)(this).trigger("blur")})},l=function(){(0,b.default)("body").tooltip({container:"body",selector:"[data-toggle=\"tooltip\"]"})},m=function(){var a=new f.default("theme_boost/loader:init");(0,h.default)();j();k();l();new g.default().init();b.default.fn.dropdown.Constructor.Default.flip=!1;c.default.init();a.resolve()};a.init=m});
2 //# sourceMappingURL=loader.min.js.map