Skip to content

Commit

Permalink
fix typo in margin()
Browse files Browse the repository at this point in the history
  • Loading branch information
darrencruse committed Feb 14, 2016
1 parent cf2498d commit de2cd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transpiler-context.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
options: { transpile: {} },
indentSize: 2,
indent: 6,
margin: function() { return " ".repeat(this.indent > 0 ? this.index : 0); },
margin: function() { return " ".repeat(this.indent > 0 ? this.indent : 0); },
tabin: function(times) { times = times || 1; this.indent += (this.indentSize * times); },
tabout: function(times) { times = times || 1; this.indent -= (this.indentSize * times); this.indent = this.indent > 0 ? this.indent : 0; },
noSemiColon: false,
Expand Down

0 comments on commit de2cd90

Please sign in to comment.