summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2014-08-14 12:27:02 -0500
committerkpdecker <kpdecker@gmail.com>2014-08-14 12:27:02 -0500
commit3cea85b2b0d1478dbeb19c82f7781385268db6a2 (patch)
treeb063e979aae34532e0a1b9e582b83183f927bd37 /lib/handlebars/compiler/compiler.js
parent4d0e3c98ebec60d70202300128fb73e027eed3be (diff)
downloadhandlebars.js-3cea85b2b0d1478dbeb19c82f7781385268db6a2.zip
handlebars.js-3cea85b2b0d1478dbeb19c82f7781385268db6a2.tar.gz
handlebars.js-3cea85b2b0d1478dbeb19c82f7781385268db6a2.tar.bz2
Drop unused DECLARE opcode
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r--lib/handlebars/compiler/compiler.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js
index ffddec4..1205898 100644
--- a/lib/handlebars/compiler/compiler.js
+++ b/lib/handlebars/compiler/compiler.js
@@ -336,10 +336,6 @@ Compiler.prototype = {
this.opcodes.push({ opcode: name, args: [].slice.call(arguments, 1) });
},
- declare: function(name, value) {
- this.opcodes.push({ opcode: 'DECLARE', name: name, value: value });
- },
-
addDepth: function(depth) {
if(depth === 0) { return; }