This commit is contained in:
2019-03-13 16:03:59 +08:00
commit ca2f3f4822
224 changed files with 56136 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
/*!
* ZUI: 1.2升级到1.3兼容插件 - v1.8.1 - 2018-01-18
* http://zui.sexy
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2018 cnezsoft.com; Licensed MIT
*/
/* ========================================================================
* ZUI: zui.migrate.1.2.js
* This file inclues some helper methods to help upgrad version 1.2 or
* lower to version 1.3
* If you are using 1.3+, then ignore this.
* http://zui.sexy
* ========================================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
* ======================================================================== */
(function($, window) {
var zui = $.zui;
if(zui) {
function extendTo(name, target) {
if($.isArray(name)) {
$.each(name, function(i, n) {
extendTo(n, target);
});
return;
}
var config = {};
config[name] = zui[name];
if(target) {
$.extend(target, config);
} else {
$.extend(config);
}
}
extendTo(['uuid', 'callEvent', 'clientLang', 'browser', 'messager', 'Messager', 'showMessager', 'closeModal', 'ajustModalPosition', 'ModalTrigger', 'modalTrigger', 'store']);
extendTo(['Color', 'imgReady', 'messager', 'Messager', 'showMessager', 'closeModal', 'ajustModalPosition', 'ModalTrigger', 'modalTrigger', 'store'], window);
}
}(jQuery, window));