This commit is contained in:
贤心 2021-04-06 22:34:23 +08:00
parent 41a47c6300
commit 5e25fffe8f
4 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "layui", "name": "layui",
"main": "dist/layui.js", "main": "dist/layui.js",
"version": "2.6.3", "version": "2.6.4",
"homepage": "https://github.com/sentsin/layui", "homepage": "https://github.com/sentsin/layui",
"authors": [ "authors": [
"sentsin <xu@sentsin.com>" "sentsin <xu@sentsin.com>"

4
dist/layui.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"name": "layui-src", "name": "layui-src",
"realname": "layui", "realname": "layui",
"version": "2.6.3", "version": "2.6.4",
"description": "Classic modular front-end component library", "description": "Classic modular front-end component library",
"main": "dist/layui.js", "main": "dist/layui.js",
"license": "MIT", "license": "MIT",
@ -18,7 +18,7 @@
"author": [ "author": [
"sentsin <xu@sentsin.com>" "sentsin <xu@sentsin.com>"
], ],
"homepage": "/", "homepage": "https://github.com/sentsin/layui/",
"devDependencies": { "devDependencies": {
"chai": "^4.3.4", "chai": "^4.3.4",
"del": "^2.2.2", "del": "^2.2.2",

View File

@ -17,7 +17,7 @@
} }
,Layui = function(){ ,Layui = function(){
this.v = '2.6.3'; //版本号 this.v = '2.6.4'; //版本号
} }
//获取layui所在目录 //获取layui所在目录
@ -122,7 +122,6 @@
}(); }();
//如果页面已经存在 jQuery 1.7+ 库且所定义的模块依赖 jQuery则不加载内部 jquery 模块 //如果页面已经存在 jQuery 1.7+ 库且所定义的模块依赖 jQuery则不加载内部 jquery 模块
/*
if(window.jQuery && jQuery.fn.on){ if(window.jQuery && jQuery.fn.on){
that.each(apps, function(index, item){ that.each(apps, function(index, item){
if(item === 'jquery'){ if(item === 'jquery'){
@ -131,7 +130,6 @@
}); });
layui.jquery = layui.$ = jQuery; layui.jquery = layui.$ = jQuery;
} }
*/
var item = apps[0] var item = apps[0]
,timeout = 0; ,timeout = 0;