Skip to content

Commit 2296f2b

Browse files
committed
update
1 parent ee6946d commit 2296f2b

File tree

6 files changed

+369
-223
lines changed

6 files changed

+369
-223
lines changed

dist/laydate.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/theme/default/laydate.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/**
2-
layDate构建
3-
*/
1+

2+
/*!
3+
* laydate build
4+
*/
45

56
var pkg = require('./package.json');
67

@@ -23,7 +24,11 @@ var task = {
2324
}))
2425
.pipe(gulp.dest('./dist'));
2526

26-
return gulp.src('./src/laydate.js').pipe(uglify())
27+
return gulp.src('./src/laydate.js').pipe(uglify({
28+
output: {
29+
ascii_only: true //escape Unicode characters in strings and regexps
30+
}
31+
}))
2732
.pipe(header('/*! <%= pkg.realname %> v<%= pkg.version %> | <%= pkg.description %> | The <%= pkg.license %> License */\n ;', {pkg: pkg}))
2833
.pipe(gulp.dest('./dist'));
2934

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "layui-laydate",
33
"realname": "layDate",
4-
"version": "5.2.1",
4+
"version": "5.3.0",
55
"description": "日期与时间组件",
66
"main": "src/laydate.js",
77
"license": "MIT",

0 commit comments

Comments
 (0)