templatizer
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -73,3 +73,4 @@ var escodegen = require('escodegen'); | ||
newCall = 'buf.push(' + options.rootName + bracketedName(options.dir.split('.').concat(mixinName)); | ||
newCall = node.source().replace(/^jade_mixins\[.*\]([\s\S]*);$/gm, newCall + '$1);'); | ||
// TODO: makde this use falafel/escodegen instead of regex replacement | ||
newCall = node.source().replace(/^jade_mixins\[.*?\]([\s\S]*);$/gm, newCall + '$1);'); | ||
@@ -76,0 +77,0 @@ // TODO: use codegen to add buf to block |
{ | ||
"name": "templatizer", | ||
"description": "Simple solution for compiling jade templates into vanilla JS functions for blazin' fast client-side use.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -33,2 +33,3 @@ "bin": "./bin/cli", | ||
"jshint": "^2.5.0", | ||
"phantomjs": "^1.9.7-15", | ||
"precommit-hook": "^0.4.1", | ||
@@ -35,0 +36,0 @@ "testee": "0.0.13", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26973
539
0
8