using pre-compiled handlebar templates

re-did static content from nancy
This commit is contained in:
kay.one 2013-03-29 16:00:38 -07:00
commit 375f887539
21 changed files with 367 additions and 124 deletions

View file

@ -21,8 +21,7 @@ module.exports = function(grunt) {
handlebars: {
options: {
namespace: "NzbDrone.Templates",
wrapped: false,
namespace: "Templates",
processName: function(fileName){
return fileName
.replace('UI/','')
@ -52,10 +51,6 @@ module.exports = function(grunt) {
src: 'UI/**/*.png',
dest: '_output/'
},
templates:{
src: 'UI/**/*emplate.html',
dest: '_output/'
},
fonts:{
src: 'UI/**/Fonts/*.*',
dest: '_output/',
@ -87,10 +82,6 @@ module.exports = function(grunt) {
files: '<%= copy.images.src %>',
tasks: ['copy:images']
},
copyTemplates:{
files: '<%= copy.templates.src %>',
tasks: ['copy:templates']
},
copyFonts:{
files: '<%= copy.fonts.src %>',
tasks: ['copy:fonts']