Comparing version 0.8.0 to 0.8.1
@@ -0,1 +1,21 @@ | ||
v0.8.1 | ||
====== | ||
* Reinstate `__express` | ||
* Quoted attribute values containing a `=` were causing the current attribute to prematurely be closed when parsing. | ||
v0.8.0 | ||
====== | ||
* Complete rewrite of parser and compiler (codegen) | ||
* Restructure files to use CJS | ||
* Fix numerous "unfixable" bugs | ||
* Runtime is now `require('vash/runtime')` | ||
* No longer provide minified builds (assume consumer will) | ||
* Simplify build system to be npm-driven | ||
* [`debug`](https://github.com/visionmedia/debug) module used throughout lexer/parser/codegen | ||
* Completely new AST format | ||
* Markup parsing is now more strict, and vash knows about attributes, quotes, etc | ||
* Much more internally. | ||
v0.7.4-19 / 05-21-2013 | ||
@@ -2,0 +22,0 @@ ====================== |
@@ -74,3 +74,3 @@ var helpers = require('../../runtime').helpers; | ||
vash.renderFile = function(filepath, options, cb){ | ||
vash.renderFile = vash.__express = function(filepath, options, cb){ | ||
@@ -77,0 +77,0 @@ vash.loadFile(filepath, options, function(err, tpl){ |
@@ -362,3 +362,3 @@ | ||
// End of left. | ||
if (curr.type === tks.EQUAL_SIGN) { | ||
if (curr.type === tks.EQUAL_SIGN && !node._finishedLeft) { | ||
this.flag(node, '_finishedLeft', true); | ||
@@ -365,0 +365,0 @@ this.flag(node, '_expectRight', true); |
{ | ||
"name": "vash", | ||
"description": "Razor syntax for JS templating", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"author": "Andrew Petersen <senofpeter@gmail.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/kirbysayshi/vash", |
@@ -1103,2 +1103,8 @@ var vows = require('vows') | ||
,'attribute parsing allows for quoted = (equal) signs': function() { | ||
var topic = '<meta name="viewport" content="width=device-width, initial-scale=1">'; | ||
var tpl = vash.compile(topic); | ||
assert.equal( tpl(), topic ); | ||
} | ||
,'"server-side" comments': { | ||
@@ -1105,0 +1111,0 @@ |
@@ -18,4 +18,11 @@ var vows = require('vows') | ||
'layout helpers':{ | ||
'express support': { | ||
'is present via __express': function() { | ||
assert.ok(vash.__express); | ||
} | ||
} | ||
,'layout helpers':{ | ||
topic: function(){ | ||
@@ -22,0 +29,0 @@ |
@@ -0,8 +1,4 @@ | ||
Add license comment headers to builds (ignore version number inclusion) | ||
Ensure vash#46, vash#27?, vash#26, and vash#22 are handled in tests | ||
Add license comment headers to builds (ignore version number inclusion) | ||
Update changelog | ||
Add documentation for 0.7 -> 0.8 migration | ||
Plan future deprecations, like helper system, layout `fs` usage? | ||
Plan future deprecations, like helper system (replace with `var h = require('myhelper') ?`, layout `fs` usage? | ||
Reformat helpers code style (esp layout) | ||
@@ -9,0 +5,0 @@ Reformat runtime code style |
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
453980
10853