From 160e66430c63dec24c5f56d54e736ec43e2e7417 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 19 Feb 2014 23:24:51 +1100 Subject: [PATCH] Remove util.xmlToDom that ducked the XML cleanup. --- common/modules/highlight.jsm | 2 +- common/modules/util.jsm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/modules/highlight.jsm b/common/modules/highlight.jsm index 7ec74142..d585684a 100644 --- a/common/modules/highlight.jsm +++ b/common/modules/highlight.jsm @@ -275,7 +275,7 @@ var Highlights = Module("Highlight", { * If Star is provided, the style is applied as an agent sheet. * * The new styles are lazily activated unless Bang or *eager* is - * provided. See {@link Util#xmlToDom}. + * provided. * * @param {string} css The rules to load. See {@link Highlights#css}. * @param {boolean} eager When true, load all provided rules immediately. diff --git a/common/modules/util.jsm b/common/modules/util.jsm index cc7a10e9..657696e5 100644 --- a/common/modules/util.jsm +++ b/common/modules/util.jsm @@ -89,7 +89,6 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]), parseForm: deprecated("DOM#formData", function parseForm(elem) values(DOM(elem).formData).toArray()), scrollIntoView: deprecated("DOM#scrollIntoView", function scrollIntoView(elem, alignWithTop) DOM(elem).scrollIntoView(alignWithTop)), validateMatcher: deprecated("DOM.validateMatcher", { get: function validateMatcher() DOM.validateMatcher }), - xmlToDom: deprecated("DOM.fromJSON", function xmlToDom() DOM.fromXML.apply(DOM, arguments)), map: deprecated("iter.map", function map(obj, fn, self) iter(obj).map(fn, self).toArray()), writeToClipboard: deprecated("dactyl.clipboardWrite", function writeToClipboard(str, verbose) util.dactyl.clipboardWrite(str, verbose)),