Skip to content

Commit

Permalink
5.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sentsin committed Sep 15, 2017
1 parent 2c8c9e3 commit 898ec1d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dist/laydate.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/theme/default/laydate.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ var task = {
.pipe(minify({
compatibility: 'ie7'
}))
.pipe(header('/*! <%= pkg.alias %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n', {pkg: pkg}))
.pipe(header('/*! <%= pkg.realname %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n', {pkg: pkg}))
.pipe(gulp.dest('./dist'));

return gulp.src('./src/laydate.js').pipe(uglify())
.pipe(header('/*! <%= pkg.alias %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n ;', {pkg: pkg}))
.pipe(header('/*! <%= pkg.realname %>-v<%= pkg.version %> <%= pkg.description %> <%= pkg.license %> License <%= pkg.homepage %> By <%= pkg.author %> */\n ;', {pkg: pkg}))
.pipe(gulp.dest('./dist'));

}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "layui-laydate",
"version": "5.0.6",
"alias": "laydate",
"realname": "laydate",
"version": "5.0.7",
"description": "日期与时间组件",
"main": "src/laydate.js",
"license": "MIT",
Expand Down
5 changes: 2 additions & 3 deletions src/laydate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
@Name : layDate 5.0.6 日期时间控件
@Name : layDate 5.0.7 日期时间控件
@Author: 贤心
@Site:http://www.layui.com/laydate/
@License:MIT
Expand Down Expand Up @@ -55,7 +55,7 @@
}

,laydate = {
v: '5.0.6'
v: '5.0.7'
,config: {} //全局配置项
,index: (window.laydate && window.laydate.v) ? 100000 : 0
,path: ready.getPath
Expand All @@ -71,7 +71,6 @@
,ready: function(fn){
var cssname = 'laydate', ver = ''
,path = (isLayui ? 'modules/laydate/' : 'theme/') + 'default/laydate.css?v='+ laydate.v + ver;
if(typeof define === 'function' && define.amd) return fn();
isLayui ? layui.addcss(path, fn, cssname) : ready.link(path, fn, cssname);
return this;
}
Expand Down

0 comments on commit 898ec1d

Please sign in to comment.