merge
pull/44/head
sentsin 2017-02-25 14:09:26 +08:00
commit 753d105160
1 changed files with 2 additions and 2 deletions

View File

@ -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);