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:
@@ -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.
|
||||
|
||||
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user