Remove unused JSCompiler.register method
This commit is contained in:
@@ -703,11 +703,6 @@ JavaScriptCompiler.prototype = {
|
||||
return (depths.length === 0 ? 'this.program(' : 'this.programWithDepth(') + programParams.join(', ') + ')';
|
||||
},
|
||||
|
||||
register: function(name, val) {
|
||||
this.useRegister(name);
|
||||
this.pushSource(name + " = " + val + ";");
|
||||
},
|
||||
|
||||
useRegister: function(name) {
|
||||
if(!this.registers[name]) {
|
||||
this.registers[name] = true;
|
||||
|
||||
Reference in New Issue
Block a user