Comparing version 0.3.3 to 0.3.5
@@ -29,4 +29,4 @@ var compile = (function(){ | ||
var sax = (new Function(readFileSync(__dirname + '/sax.js').toString() + ' return sax;'))(); | ||
@@ -409,3 +409,3 @@ var js_beautify = (new Function(readFileSync(__dirname + '/beautify.js').toString() + ' return js_beautify;'))(); | ||
if (node.attributes.select){ | ||
section.source += 'try{__fest_select=' + _getAttr(node, 'select', 'expr') + '}catch(e){__fest_select==="__error__";__fest_log_error(e.message)}'; | ||
section.source += 'try{__fest_select=' + _getAttr(node, 'select', 'expr') + '}catch(e){__fest_select="__error__";__fest_log_error(e.message)}'; | ||
output.disable_sgo = true; | ||
@@ -594,3 +594,3 @@ } else { | ||
'__fest_pushstr=function(ctx, str){__fest_str+=str};' + | ||
'if(typeof __fest_error === "undefined"){___fest_log_error = function(){return Function.prototype.apply.call(console.error, console, arguments);};}else{___fest_log_error=__fest_error}' + | ||
'if(typeof __fest_error === "undefined"){___fest_log_error = (typeof console !== "undefined" && console.error) ? function(){return Function.prototype.apply.call(console.error, console, arguments)} : function(){};}else{___fest_log_error=__fest_error}' + | ||
'function __fest_replaceHTML(chr){return __fest_htmlhash[chr];}' + | ||
@@ -597,0 +597,0 @@ 'function __fest_replaceJS(chr){return __fest_jshash[chr];}' + |
@@ -5,3 +5,3 @@ { | ||
"keywords": ["template", "templating", "html", "xml"], | ||
"version": "0.3.3", | ||
"version": "0.3.5", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
185074