From 9a4e4f8c0b36f1bcba0198c1869ca6b187e443fe Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Tue, 14 Jul 2015 02:20:10 +0200 Subject: [PATCH] Use CDN for font awesome to prevent Firefox issues. --- Gruntfile.js | 5 +---- bower.json | 1 - grunt-config/copy.js | 12 ------------ 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 45dbd31..c8d6c63 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -28,10 +28,7 @@ module.exports = function(grunt) { 'shell:npm_install', 'bower:install', 'bower_concat', - 'copy:bootstrap-select.css.map', - //'copy:fontawesome-webfont.woff2', - //'copy:fontawesome-webfont.woff', - 'copy:fontawesome-webfont.ttf' + //'copy:bootstrap-select.css.map', ]); grunt.registerTask('jsdev', [ diff --git a/bower.json b/bower.json index 11609f0..07f8bc2 100644 --- a/bower.json +++ b/bower.json @@ -17,7 +17,6 @@ "moment": "2.10.3", "bootstrap": "3.3.4", "bootstrap-datepicker": "1.4.0", - "font-awesome": "4.3.0", "pines-notify": "2.0.1", "angular": "1.4.1", "angular-resource": "1.4.1", diff --git a/grunt-config/copy.js b/grunt-config/copy.js index 8122803..f784cd3 100644 --- a/grunt-config/copy.js +++ b/grunt-config/copy.js @@ -3,16 +3,4 @@ module.exports = { src: 'bower_components/bootstrap-select/dist/css/bootstrap-select.css.map', dest: '<%= paths.frontend_build %>/css/bootstrap-select.css.map' }, - "fontawesome-webfont.woff2": { - src: 'bower_components/font-awesome/fonts/fontawesome-webfont.woff2', - dest: '<%= paths.frontend_build %>/fonts/fontawesome-webfont.woff2' - }, - "fontawesome-webfont.woff": { - src: 'bower_components/font-awesome/fonts/fontawesome-webfont.woff', - dest: '<%= paths.frontend_build %>/fonts/fontawesome-webfont.woff' - }, - "fontawesome-webfont.ttf": { - src: 'bower_components/font-awesome/fonts/fontawesome-webfont.ttf', - dest: '<%= paths.frontend_build %>/fonts/fontawesome-webfont.ttf' - } };