Difference between revisions of "Template:TecMonterrey GDL"

Line 8,069: Line 8,069:
 
(function( global, factory ) {
 
(function( global, factory ) {
  
     if ( typeof module === "object" && typeof module.exports === "object" ) {
+
     if ( typeof module === "object") {
 
         // For CommonJS and CommonJS-like environments where a proper `window`
 
         // For CommonJS and CommonJS-like environments where a proper `window`
 
         // is present, execute the factory and get jQuery.
 
         // is present, execute the factory and get jQuery.
Line 8,077: Line 8,077:
 
         // e.g. var jQuery = require("jquery")(window);
 
         // e.g. var jQuery = require("jquery")(window);
 
         // See ticket #14549 for more info.
 
         // See ticket #14549 for more info.
         module.exports = global.document ?
+
         if (typeof module.exports === "object"){
 +
            module.exports = global.document ?
 
             factory( global, true ) :
 
             factory( global, true ) :
 
             function( w ) {
 
             function( w ) {
Line 8,085: Line 8,086:
 
                 return factory( w );
 
                 return factory( w );
 
             };
 
             };
 +
        }else {
 +
        factory( global );
 +
    }
 +
       
 
     } else {
 
     } else {
 
         factory( global );
 
         factory( global );
Line 19,076: Line 19,081:
 
     "use strict";
 
     "use strict";
 
     var b=a.fn.jquery.split(" ")[0].split(".");
 
     var b=a.fn.jquery.split(" ")[0].split(".");
    if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")
 
 
}
 
}
  

Revision as of 06:56, 17 October 2018