vendor/assets/javascripts/haml.js in ruby-haml-js-0.0.2 vs vendor/assets/javascripts/haml.js in ruby-haml-js-0.0.3

- old
+ new

@@ -631,10 +631,10 @@ try{ var f = new Function("locals", escaper + str ); return f; }catch(e){ - console.error(str); + if ( typeof(console) !== 'undefined' ) { console.error(str); } throw e; } } Haml.compile = compile;