Skip to content

Commit

Permalink
Fixed misplaced closing bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiemstra committed Nov 7, 2012
1 parent 04d2e63 commit a0b97d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/js/haml_coffee_assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var HamlCoffeeAssets = (function(){
var hamlc = CoffeeScript.compile(compiler.precompile(), { bare: true });

if (extendScope) {
template = '(function(context) {\n with(context || {}) {\n return (function() {\n' + hamlc.replace(/^(.*)$/mg, ' $1') + '\n };\n }).call(context);\n});';
template = '(function(context) {\n with(context || {}) {\n return (function() {\n' + hamlc.replace(/^(.*)$/mg, ' $1') + '\n }).call(context);\n };\n});';
} else {
template = '(function(context) {\n return (function() {\n' + hamlc.replace(/^(.*)$/mg, ' $1') + '\n }).call(context);\n});';
}
Expand Down

0 comments on commit a0b97d7

Please sign in to comment.