mirror of
https://gitee.com/layui/layui.git
synced 2025-11-24 16:43:14 +08:00
style: 清理代码多余空白符 (#2606)
* style: 清理代码多余空白符 * update --------- Co-authored-by: corededitor <107152508+corededitor@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
@@ -14,18 +14,18 @@ layui.define(['jquery', 'lay'], function(exports){
|
||||
|
||||
// 外部接口
|
||||
var colorpicker = {
|
||||
config: {}
|
||||
,index: layui.colorpicker ? (layui.colorpicker.index + 10000) : 0
|
||||
config: {},
|
||||
index: layui.colorpicker ? (layui.colorpicker.index + 10000) : 0,
|
||||
|
||||
// 设置全局项
|
||||
,set: function(options){
|
||||
set: function(options) {
|
||||
var that = this;
|
||||
that.config = $.extend({}, that.config, options);
|
||||
return that;
|
||||
}
|
||||
},
|
||||
|
||||
// 事件
|
||||
,on: function(events, callback){
|
||||
on: function(events, callback) {
|
||||
return layui.onevent.call(this, 'colorpicker', events, callback);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -6,9 +6,10 @@
|
||||
layui.define('jquery', function(exports) {
|
||||
"use strict";
|
||||
|
||||
var $ = layui.$, Flow = function(options){}
|
||||
,ELEM_MORE = 'layui-flow-more'
|
||||
,ELEM_LOAD = '<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon "></i>';
|
||||
var $ = layui.$;
|
||||
var Flow = function(options) {};
|
||||
var ELEM_MORE = 'layui-flow-more';
|
||||
var ELEM_LOAD = '<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon "></i>';
|
||||
|
||||
// 主方法
|
||||
Flow.prototype.load = function(options) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
/** lay 基础模块 | MIT Licensed */
|
||||
|
||||
;!function(window){ // gulp build: lay-header
|
||||
(function(window) {
|
||||
"use strict";
|
||||
|
||||
var MOD_NAME = 'lay'; // 模块名
|
||||
@@ -967,4 +967,4 @@
|
||||
});
|
||||
}
|
||||
|
||||
}(window, window.document); // gulp build: lay-footer
|
||||
})(window);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** laydate 日期与时间控件 | MIT Licensed */
|
||||
// @ts-expect-error
|
||||
;!function(window, document){ // gulp build: laydate-header
|
||||
(function(window, document) {
|
||||
"use strict";
|
||||
|
||||
var isLayui = window.layui && layui.define;
|
||||
@@ -2756,4 +2756,4 @@
|
||||
}()
|
||||
);
|
||||
|
||||
}(window, window.document);
|
||||
})(window, window.document);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* 通用 Web 弹出层组件
|
||||
*/
|
||||
//@ts-ignore
|
||||
;!function(window, undefined){
|
||||
(function(window, undefined) {
|
||||
"use strict";
|
||||
|
||||
var isLayui = window.layui && layui.define;
|
||||
@@ -1915,4 +1915,4 @@ window.layui && layui.define ? (
|
||||
}()
|
||||
);
|
||||
|
||||
}(window);
|
||||
})(window);
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/**
|
||||
* layui 移动模块入口
|
||||
* 构建后则为移动模块集合
|
||||
*/
|
||||
|
||||
|
||||
if(!layui['layui.mobile']){
|
||||
layui.config({
|
||||
base: layui.cache.dir + 'lay/modules/mobile/'
|
||||
}).extend({
|
||||
'layer-mobile': 'layer-mobile'
|
||||
,'zepto': 'zepto'
|
||||
,'upload-mobile': 'upload-mobile'
|
||||
,'layim-mobile': 'layim-mobile'
|
||||
});
|
||||
}
|
||||
|
||||
layui.define([
|
||||
'layer-mobile'
|
||||
,'zepto'
|
||||
,'layim-mobile'
|
||||
], function(exports){
|
||||
exports('mobile', {
|
||||
layer: layui['layer-mobile'] //弹层
|
||||
,layim: layui['layim-mobile'] //WebIM
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user