From 039dfb576161ccafd35dd60aba256c2eef31b510 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson Date: Tue, 10 Dec 2013 13:55:23 +0000 Subject: [PATCH] Remove JST processing. --- Gruntfile.js | 26 -------------------------- package.json | 1 - 2 files changed, 27 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 0d4f510fa..d7365ae5a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -23,12 +23,6 @@ module.exports = function (grunt) { styles: { files: ['<%= yeoman.app %>/styles/{,*/}*.css'], tasks: ['copy:styles', 'autoprefixer'] - }, - jst: { - files: [ - '<%= yeoman.app %>/scripts/templates/*.ejs' - ], - tasks: ['jst'] } }, connect: { @@ -244,16 +238,6 @@ module.exports = function (grunt) { rjsConfig: '<%= yeoman.app %>/scripts/main.js' } }, - jst: { - options: { - amd: true - }, - compile: { - files: { - '.tmp/scripts/templates.js': ['<%= yeoman.app %>/scripts/templates/*.ejs'] - } - } - }, modernizr: { devFile: '<%= yeoman.app %>/bower_components/modernizr/modernizr.js', outputFile: '<%= yeoman.dist %>/bower_components/modernizr/modernizr.js', @@ -266,18 +250,12 @@ module.exports = function (grunt) { }, concurrent: { server: [ - 'createDefaultTemplate', - 'jst', 'copy:styles' ], test: [ - 'createDefaultTemplate', - 'jst', 'copy:styles' ], dist: [ - 'createDefaultTemplate', - 'jst', 'copy:styles', 'imagemin', 'svgmin', @@ -286,10 +264,6 @@ module.exports = function (grunt) { } }); - grunt.registerTask('createDefaultTemplate', function () { - grunt.file.write('.tmp/scripts/templates.js', 'this.JST = this.JST || {};'); - }); - grunt.registerTask('server', function (target) { if (target === 'dist') { return grunt.task.run(['build', 'connect:dist:keepalive']); diff --git a/package.json b/package.json index 8ddce050a..ef0a6804f 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "grunt": "~0.4.1", "grunt-contrib-copy": "~0.4.1", "grunt-contrib-concat": "~0.3.0", - "grunt-contrib-jst": "~0.5.0", "grunt-contrib-uglify": "~0.2.0", "grunt-contrib-jshint": "~0.6.3", "grunt-contrib-cssmin": "~0.6.0",