Skip to content

Commit bae254c

Browse files
committed
1 parent 02391fe commit bae254c

7 files changed

+22
-20
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-smart-table",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"homepage": "https://github.com/lorenzofox3/Smart-Table",
55
"authors": [
66
"lorenzofox3 <[email protected]>"

changeLog.md

+3
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,6 @@ function(tableState, tableController){
146146
* support commonjs
147147
* add totalItemCount on tableState (@eirikbell)
148148

149+
## version 2.1.2
150+
151+
* improve build #461 [stanleyxu](https://github.com/stanleyxu2005)

dist/smart-table.js

+2-3
Large diffs are not rendered by default.

dist/smart-table.min.js

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/smart-table.min.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpFile.js

+11-13
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ var src = (['smart-table.module', 'stConfig', 'stTable']).concat(pluginList).map
1616
src.push('src/bottom.txt');
1717
src.unshift('src/top.txt');
1818

19-
//modules
20-
gulp.task('uglify', function () {
21-
gulp.src(src)
22-
.pipe(concat('smart-table.min.js'))
23-
.pipe(uglify())
24-
.pipe(gulp.dest(disFolder));
25-
});
26-
27-
2819
//just as indication
2920
gulp.task('lint', function () {
3021
gulp.src(src)
@@ -41,12 +32,19 @@ gulp.task('karma-CI', function (done) {
4132
karma.start(conf, done);
4233
});
4334

35+
gulp.task('uglify', function () {
36+
gulp.src(src)
37+
.pipe(concat('smart-table.min.js'))
38+
.pipe(sourcemaps.init())
39+
.pipe(uglify())
40+
.pipe(sourcemaps.write('.'))
41+
.pipe(gulp.dest(disFolder));
42+
});
43+
4444
gulp.task('concat', function () {
4545
gulp.src(src, { base: '.' })
46-
.pipe(sourcemaps.init())
47-
.pipe(concat('smart-table.js'))
48-
.pipe(sourcemaps.write())
49-
.pipe(gulp.dest(disFolder));
46+
.pipe(concat('smart-table.js'))
47+
.pipe(gulp.dest(disFolder));
5048
});
5149

5250
gulp.task('test', ['karma-CI']);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-smart-table",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)