From a85b2eff8f4f7fac60b9279937ac928a5b063ef3 Mon Sep 17 00:00:00 2001 From: bjorn Date: Tue, 19 Aug 2008 14:08:02 +0000 Subject: [PATCH] removed some dead code from gflib.js --- javascript/gflib.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/javascript/gflib.js b/javascript/gflib.js index 7dea8c49..b9ca20d3 100644 --- a/javascript/gflib.js +++ b/javascript/gflib.js @@ -407,27 +407,11 @@ function copy_arguments(args, start) { /* ------------------------------------------------------------------------- */ -// Parser Object Definition -/* -function Parser(startcat) { - this.startcat = startcat; - this.rules = new Array(); - this.cats = new Array(); -} -*/ function Parser(startcat, rules, cats) { this.startcat = startcat; this.rules = rules; this.cats = cats; } -/* -Parser.prototype.addRule = function (rule) { - this.rules.push(rule); -}; -Parser.prototype.addCat = function (name, refs) { - this.cats[name] = refs.slice(0); -}; -*/ Parser.prototype.showRules = function () { var ruleStr = new Array(); ruleStr.push("");