handlebar-rider
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -9,2 +9,3 @@ // handlebar rider | ||
, watch = require('watch') | ||
, async = require('async') | ||
; | ||
@@ -141,3 +142,4 @@ | ||
var precompile = function(data) { | ||
if( data == data || "" ) | ||
data = data || ""; | ||
if(data == "") | ||
return ""; | ||
@@ -319,2 +321,5 @@ else | ||
.default('r', false) | ||
.alias('e','extensions') | ||
.describe('e','Add more extensions to the defaults for templates that Handlebar-Rider will compile') | ||
.default('e','["hb","hbs","handlebars","template","templates","tpl","item","part","prt","pt"]') | ||
.argv | ||
@@ -339,3 +344,3 @@ | ||
// export functions for module use | ||
exports.configure = function(config){ rider = config; } | ||
exports.configure = function(config){ __.extend(rider,config) } | ||
exports.watch = function(){ | ||
@@ -356,5 +361,2 @@ | ||
})() | ||
})() |
@@ -5,3 +5,3 @@ { | ||
"description" : "Compiles/watches a directory of handlebar templates files and precompiles into single js output file", | ||
"version" : "0.1.12", | ||
"version" : "0.1.13", | ||
@@ -26,8 +26,11 @@ "repository" : { | ||
"dependencies" : { | ||
"handlebars" : ">= 1.x", | ||
"uglify-js" : "1.1.1", | ||
"optimist" : ">= 0.3.4", | ||
"supercli" : "*" | ||
"dependencies" : { | ||
"handlebars" : ">= 1.x", | ||
"uglify-js" : "1.1.1", | ||
"optimist" : ">= 0.3.4", | ||
"supercli" : "*", | ||
"underscore" : "*", | ||
"watch" : "*", | ||
"async" : "*" | ||
} | ||
} |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 3 instances 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
13449
262
7
5
+ Addedasync@*
+ Addedunderscore@*
+ Addedwatch@*
+ Addedasync@3.2.6(transitive)
+ Addedexec-sh@0.2.2(transitive)
+ Addedmerge@1.2.1(transitive)
+ Addedwatch@1.0.2(transitive)