jade-code-gen
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -461,3 +461,5 @@ 'use strict'; | ||
} | ||
this.buf.push(name + ' = function(' + args.join(',') + '){'); | ||
// we need use jade_interp here for v8: https://code.google.com/p/v8/issues/detail?id=4165 | ||
// once fixed, use this: this.buf.push(name + ' = function(' + args.join(',') + '){'); | ||
this.buf.push(name + ' = jade_interp = function(' + args.join(',') + '){'); | ||
this.buf.push('var block = (this && this.block), attributes = (this && this.attributes) || {};'); | ||
@@ -464,0 +466,0 @@ if (rest) { |
{ | ||
"name": "jade-code-gen", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Default code-generator for jade. It generates HTML via a JavaScript template function.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
24425
693