Comparing version 0.5.2 to 0.5.3
@@ -61,2 +61,5 @@ var fs = require("fs"), | ||
// Define `hasOwnProperty` shorthand | ||
prop.has = prop.hasOwnProperty; | ||
// Amend `prop` by properties in `conf.properties` if defined | ||
@@ -92,5 +95,5 @@ if (conf.properties != undefined) | ||
// (Pre-)Insert the content (so there may be ejs-tags in | ||
// (Pre-)Insert the content (so ejs-tags in | ||
// `prop.__content` are parsed, too. | ||
result = result.replace(/<%= +__content +%>/g, | ||
result = result.replace(/<%=\s+__content\s+%>/g, | ||
prop.__content); | ||
@@ -102,2 +105,3 @@ | ||
// New file's path | ||
if (prop._id == undefined) | ||
@@ -104,0 +108,0 @@ prop._id = resName.replace(inputDir, ""); |
@@ -5,3 +5,3 @@ { | ||
"tags": [ "ejs", "template" ], | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Paul Vorbach <paul@vorb.de> (http://vorb.de)", | ||
@@ -8,0 +8,0 @@ "repository": { |
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
8426
109
135