Skip to content

Commit 4bfb0c2

Browse files
committed
refactor(style): Improved code quality
1 parent 4688afb commit 4bfb0c2

19 files changed

Lines changed: 1589 additions & 1569 deletions

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = function(grunt) {
3636
},
3737
js: {
3838
files: ['src/js/**/*.es6', 'build.json','src/js/vendor/*.js'],
39-
tasks: ['rollup', 'uglify']
39+
tasks: ['eslint', 'rollup', 'uglify']
4040
}
4141
},
4242

dist/embed.min.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/embed.min.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

rollup.config.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
var babel = require('rollup-plugin-babel');
1+
var babel = require('rollup-plugin-babel');
22
var commonjs = require('rollup-plugin-commonjs');
3-
var npm = require('rollup-plugin-npm');
3+
var npm = require('rollup-plugin-npm');
44

55
var config = {
6-
entry: 'test/index.test.js',
7-
dest: 'test/bundle.test.js',
8-
format: 'cjs',
9-
plugins: [
10-
babel(),
11-
npm({
12-
jsnext: true,
13-
main: true
14-
}),
15-
commonjs({
16-
include: 'node_modules/**'
17-
}),
18-
]
19-
}
6+
entry : 'test/index.test.js',
7+
dest : 'test/bundle.test.js',
8+
format : 'cjs',
9+
plugins: [
10+
babel(),
11+
npm({
12+
jsnext: true,
13+
main : true
14+
}),
15+
commonjs({
16+
include: 'node_modules/**'
17+
})
18+
]
19+
};
2020

21-
module.exports = config
21+
module.exports = config;

src/embed.js

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

src/embed.js.map

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

0 commit comments

Comments
 (0)