Skip to content

Commit

Permalink
Release 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 3, 2010
1 parent 237cbcf commit 5933d03
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions History.md
@@ -0,0 +1,9 @@

0.0.2 / 2010-07-03
==================

* Added `context` as synonym for `scope` option [Guillermo]
* Fixed attr splitting: `div(style:"color: red")` is now allowed
* Fixed issue with `(` and `)` within attrs: `a(class: (a ? 'a' : 'b'))` is now allowed
* Fixed issue with leading / trailing spaces in attrs: `a( href="#" )` is now allowed [Guillermo]

2 changes: 1 addition & 1 deletion lib/jade.js
Expand Up @@ -9,7 +9,7 @@
* Library version.
*/

exports.version = '0.0.1';
exports.version = '0.0.2';

/**
* Module dependencies.
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "jade",
"description": "Jade template engine",
"version": "0.0.1",
"version": "0.0.2",
"author": "TJ Holowaychuk <tj@vision-media.ca>",
"main": "./lib/jade.js",
"bin": { "jade": "./bin/jade" },
Expand Down
2 changes: 1 addition & 1 deletion seed.yml
@@ -1,4 +1,4 @@
---
name: Jade
description: Haml killer template engine
version: 0.0.1
version: 0.0.2
1 change: 1 addition & 0 deletions test/jade.test.js
Expand Up @@ -285,6 +285,7 @@ module.exports = {

assert.equal('<label for="name"></label>', render('label(for="name")'));
assert.equal('<meta name="viewport" content="width=device-width" />', render("meta(name: 'viewport', content: 'width=device-width')"), 'Test attrs that contain attr separators');
assert.equal('<meta name="viewport" content="width=device-width" />', render("meta(name: 'viewport', content='width=device-width')"), 'Test attrs that contain attr separators');
assert.equal('<div style="color: white"></div>', render("div(style='color: white')"), 'Test attrs that contain attr separators');
},

Expand Down

0 comments on commit 5933d03

Please sign in to comment.