velocityjs
Advanced tools
Comparing version 0.9.1 to 0.9.2
interface Velocity { | ||
parse(vmString: string, blocks?: { [blockName: string]: boolean }, ignoreSpace?: boolean): Array<VELOCITY_AST> | ||
render(vmString: string, context?: RenderContext, macros?: Macros): string | ||
render(vmString: string, context?: RenderContext, macros?: Macros, config?: CompileConfig): string | ||
@@ -5,0 +5,0 @@ Compile: Compile |
{ | ||
"name": "velocityjs", | ||
"description": "Velocity Template Language(VTL) for JavaScript", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"keywords": [ | ||
@@ -32,3 +32,4 @@ "velocity template" | ||
"scripts": { | ||
"test": "make test" | ||
"test": "make test", | ||
"pub": "npm version patch && git push origin master && git push origin --tag" | ||
}, | ||
@@ -35,0 +36,0 @@ "spm": { |
@@ -14,6 +14,6 @@ 'use strict'; | ||
Velocity.render = function(template, context, macros) { | ||
Velocity.render = function(template, context, macros, config) { | ||
var asts = parse(template); | ||
var compile = new Compile(asts); | ||
var compile = new Compile(asts, config); | ||
return compile.render(context, macros); | ||
@@ -20,0 +20,0 @@ }; |
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
403216