Comparing version 0.0.2 to 0.1.0
@@ -11,6 +11,7 @@ 'use strict'; | ||
var pluginName = 'gulp-inc', | ||
regex = options.regex || /^(.*=\s*(include)\s+([\w\.\/-]+))$/gm; | ||
regex = options.regex || /^(.*=\s*(include)\s+([\w\.\/-]+))$/gm, | ||
preproccesor = options.preproccesor || null; | ||
if( typeof options.preproccesor == 'function') | ||
preproccesor = options.preproccesor; | ||
if( typeof preproccesor == 'function') | ||
preproccesor = preproccesor; | ||
else | ||
@@ -28,3 +29,3 @@ preproccesor = function(contents){ return content; } | ||
var content = String(file.contents), | ||
var content = String(file.contents); | ||
var result = content, | ||
@@ -31,0 +32,0 @@ matches; |
{ | ||
"name": "gulp-inc", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "Inject file contents with an include tag and compile using your favorite preprocessor like CoffeeScript, Markdown, Sass, etc.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/danioso/gulp-inc", |
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
5218
37