summaryrefslogtreecommitdiff
path: root/common/modules/options.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-02-17 15:31:05 -0500
committerKris Maglione <maglione.k@gmail.com>2011-02-17 15:31:05 -0500
commit5e6e1c6054e5562675c2bbe6972c2d46be1ad9ef (patch)
tree0e3929c0b94748d9ad4687f7d9cbee2a20f4b57b /common/modules/options.jsm
parenta54573522acb5afcdaacf370ec19aec2d858d236 (diff)
downloadpentadactyl-5e6e1c6054e5562675c2bbe6972c2d46be1ad9ef.tar.gz
Add validation to revision d91ffd3a7b40.
Diffstat (limited to 'common/modules/options.jsm')
-rw-r--r--common/modules/options.jsm7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/modules/options.jsm b/common/modules/options.jsm
index 7a9452fc..7f53d6be 100644
--- a/common/modules/options.jsm
+++ b/common/modules/options.jsm
@@ -687,13 +687,6 @@ var Option = Class("Option", {
if (this.type === "regexpmap" || this.type === "sitemap")
return Array.concat(values).every(function (re) acceptable.some(function (item) item[0] == re.result));
return Array.concat(values).every(function (value) acceptable.some(function (item) item[0] == value));
- },
-
- validateXPath: function (values) {
- return true; // For now.
- let evaluator = services.XPathEvaluator();
- return this.testValues(values,
- function (value) evaluator.createExpression(value, util.evaluateXPath.resolver));
}
});