Skip to content

Commit

Permalink
Fix jquery-notific8 fonts not loading in distribution version
Browse files Browse the repository at this point in the history
Fonts are now copied to /styles/fonts/, which is where jquery-notific8 looks for them.
Removed the /styles/fonts/ directory from the grunt-rev config, to prevent renaming of font
files.
  • Loading branch information
neelabhg committed Nov 12, 2015
1 parent 633016a commit 17d18c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ module.exports = function (grunt) {
'<%= config.dist %>/scripts/{,*/}*.js',
'<%= config.dist %>/styles/{,*/}*.css',
'<%= config.dist %>/images/{,*/}*.*',
'<%= config.dist %>/styles/fonts/{,*/}*.*',
'<%= config.dist %>/*.{ico,png}'
]
}
Expand Down Expand Up @@ -374,7 +373,7 @@ module.exports = function (grunt) {
dot: true,
cwd: 'bower_components/jquery-notific8/dist/fonts/',
src: ['*.*'],
dest: '<%= config.dist %>/styles/font/'
dest: '<%= config.dist %>/styles/fonts/'
}]
},
styles: {
Expand Down

0 comments on commit 17d18c2

Please sign in to comment.