1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-02 01:12:25 +01:00

Remove util.xmlToDom that ducked the XML cleanup.

This commit is contained in:
Doug Kearns
2014-02-19 23:24:51 +11:00
parent 4b985eb8f2
commit 160e66430c
2 changed files with 1 additions and 2 deletions

View File

@@ -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.

View File

@@ -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)),