mirror of https://github.com/layui/layer
commit
753d105160
|
@ -1229,7 +1229,7 @@ window.layui && layui.define ? (
|
|||
exports('layer', layer);
|
||||
})
|
||||
) : (
|
||||
typeof define === 'function' ? define(['jquery'], function(){ //requirejs加载
|
||||
(typeof define === 'function' && define.amd) ? define(['jquery'], function(){ //requirejs加载
|
||||
ready.run(window.jQuery);
|
||||
return layer;
|
||||
}) : function(){ //普通script标签加载
|
||||
|
@ -1238,4 +1238,4 @@ window.layui && layui.define ? (
|
|||
}()
|
||||
);
|
||||
|
||||
}(window);
|
||||
}(window);
|
||||
|
|
Loading…
Reference in New Issue