grunt-html-template
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "grunt-html-template", | ||
"description": "html builder use swig template feature", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/Allenice/grunt-html-template", | ||
@@ -6,0 +6,0 @@ "author": { |
# grunt-html-template | ||
> Html builder use swig template. You can use swig tempalte feature to generate html page. | ||
> Html builder use swig template. You can use swig template feature to generate html page. | ||
@@ -46,2 +46,4 @@ ## Getting Started | ||
if your template filename begin with '_', it will not be compiled. | ||
### Options | ||
@@ -48,0 +50,0 @@ 1. You can use all options of [swig](http://paularmstrong.github.io/swig/docs/api/). By default, cache is set to false. |
@@ -31,10 +31,6 @@ /* | ||
function getFileName(filepath) { | ||
return ((/\/?(\w+)\./).exec(filepath) || [,''])[1]; | ||
} | ||
this.files.forEach(function(f) { | ||
f.src.filter(function(filepath){ | ||
var filename = getFileName(filepath); | ||
var filename = path.basename(filepath); | ||
@@ -41,0 +37,0 @@ if(!grunt.file.exists(filepath)) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52989
18
89
74