Browse Source

No need to build `dist/templates.js` anymore.

JC Brand 8 years ago
parent
commit
47214108d4
3 changed files with 0 additions and 22 deletions
  1. 0 20
      Gruntfile.js
  2. 0 1
      Makefile
  3. 0 1
      package.json

+ 0 - 20
Gruntfile.js

@@ -1,24 +1,5 @@
 module.exports = function(grunt) {
     grunt.initConfig({
-        jst: {
-            compile: {
-                options: {
-                    namespace: 'templates',
-                    templateSettings: {
-                        evaluate : /\{\[([\s\S]+?)\]\}/g,
-                        interpolate : /\{\{([\s\S]+?)\}\}/g
-                    },
-                    processName: function (filepath) {
-                        // E.g. src/templates/trimmed_chat.html
-                        return filepath.match(/src\/templates\/([a-z_]+)\.html/)[1];
-
-                    }
-                },
-                files: {
-                    "dist/templates.js": ["src/templates/*.html"]
-                },
-            }
-        },
         cssmin: {
             options: {
                 banner: "/*"+
@@ -48,6 +29,5 @@ module.exports = function(grunt) {
         }
     });
     grunt.loadNpmTasks('grunt-contrib-cssmin');
-    grunt.loadNpmTasks('grunt-contrib-jst');
     grunt.loadNpmTasks('grunt-json');
 };

+ 0 - 1
Makefile

@@ -174,7 +174,6 @@ dist:: build
 
 .PHONY: build
 build:: stamp-npm
-	$(GRUNT) jst
 	$(GRUNT) cssmin
 	$(GRUNT) json
 	make jsmin

+ 0 - 1
package.json

@@ -37,7 +37,6 @@
     "grunt": "^1.0.1",
     "grunt-cli": "^1.1.0",
     "grunt-contrib-cssmin": "~1.0.1",
-    "grunt-contrib-jst": "~1.0.0",
     "grunt-json": "^0.2.0",
     "http-server": "^0.9.0",
     "jquery-easing": "0.0.1",