summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorPeter Wagenet <peter.wagenet@gmail.com>2011-10-27 22:32:07 -0700
committerPeter Wagenet <peter.wagenet@gmail.com>2011-10-27 22:32:07 -0700
commit924cc3e86cb1c6ccdb7ff125c58060be467e4d70 (patch)
treeda5b5da21433b4467a344077ec7b74241e471620 /lib/handlebars/compiler/compiler.js
parent43431d2a782f02ca5b3b86fa13f114e7b3e2441e (diff)
downloadhandlebars.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.js2
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 "));