diff options
author | Peter Wagenet <peter.wagenet@gmail.com> | 2011-10-27 22:32:07 -0700 |
---|---|---|
committer | Peter Wagenet <peter.wagenet@gmail.com> | 2011-10-27 22:32:07 -0700 |
commit | 924cc3e86cb1c6ccdb7ff125c58060be467e4d70 (patch) | |
tree | da5b5da21433b4467a344077ec7b74241e471620 /lib/handlebars/compiler/compiler.js | |
parent | 43431d2a782f02ca5b3b86fa13f114e7b3e2441e (diff) | |
download | handlebars.js-924cc3e86cb1c6ccdb7ff125c58060be467e4d70.zip handlebars.js-924cc3e86cb1c6ccdb7ff125c58060be467e4d70.tar.gz handlebars.js-924cc3e86cb1c6ccdb7ff125c58060be467e4d70.tar.bz2 |
Goodbye poor hack. You were broken before your time.
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index 5dc44bb..815348b 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -462,8 +462,6 @@ Handlebars.JavaScriptCompiler = function() {}; params.push("depth" + this.environment.depths.list[i]); } - if(params.length === 4 && !this.environment.usePartial) { params.pop(); } - if (asObject) { params.push(this.source.join("\n ")); |