Skip to content

Commit

Permalink
Include font style on summernote.css and code cleaning
Browse files Browse the repository at this point in the history
 - remove temporary files in building webfont
 - update version to v0.7.4
  • Loading branch information
hackerwins committed Jan 24, 2016
1 parent 10c3c15 commit bfa081f
Show file tree
Hide file tree
Showing 54 changed files with 276 additions and 1,251 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
# node modules
node_modules
bower_components

*.sublime*
.build*

# zip file
*.zip

# webfont temp
src/icons/dist/*

.versions
coverage/

Expand Down
13 changes: 6 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,17 +243,17 @@ module.exports = function (grunt) {
copy: {
dist: {
files: [
{src: 'lang/*', dest: 'dist/'},
{expand: true, cwd: 'src/icons/results/icons/', src: ['**', '!*.html'], dest: 'dist/icons/'},
{src: 'src/icons/results/summernote.css', dest: 'dist/summernote-icon.css'}
{ src: 'lang/*', dest: 'dist/' },
{ expand: true, cwd: 'src/icons/dist/font/', src: ['**', '!*.html'], dest: 'dist/font/' },
{ src: 'src/icons/dist/summernote.css', dest: 'src/icons/dist/summernote.less' }
]
}
},
webfont: {
icons: {
src: 'src/icons/*.svg',
dest: 'src/icons/results/icons',
destCss: 'src/icons/results/',
dest: 'src/icons/dist/font',
destCss: 'src/icons/dist/',
options: {
font: 'summernote',
template: 'src/icons/templates/summernote.css'
Expand Down Expand Up @@ -286,7 +286,7 @@ module.exports = function (grunt) {
// dist: make dist files
grunt.registerTask('dist', [
'clean:dist',
'build', 'jshint', 'karma:dist',
'build', 'webfont', 'lint', 'karma:dist',
'copy:dist', 'uglify', 'recess', 'compress'
]);

Expand All @@ -297,5 +297,4 @@ module.exports = function (grunt) {
grunt.registerTask('meteor-test', 'exec:meteor-test');
grunt.registerTask('meteor-publish', 'exec:meteor-publish');
grunt.registerTask('meteor', ['meteor-test', 'meteor-publish']);

};
Binary file not shown.
Binary file not shown.
Binary file not shown.
274 changes: 0 additions & 274 deletions dist/icons/summernote.css

This file was deleted.

Binary file removed dist/icons/summernote.eot
Binary file not shown.
Binary file removed dist/icons/summernote.woff
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/lang/summernote-ar-AR.min.js

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

2 changes: 1 addition & 1 deletion dist/lang/summernote-bg-BG.min.js

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

2 changes: 1 addition & 1 deletion dist/lang/summernote-ca-ES.min.js

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

2 changes: 1 addition & 1 deletion dist/lang/summernote-cs-CZ.min.js

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

2 changes: 1 addition & 1 deletion dist/lang/summernote-da-DK.min.js

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

Loading

0 comments on commit bfa081f

Please sign in to comment.