This commit is contained in:
Kris Maglione committed 2011-11-05 00:05:44 -04:00
1 parent abef44ea98
commit 7b38c4a434
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -877,6 +877,7 @@ var Buffer = Module("Buffer", {
showElementInfo: function showElementInfo(elem) {
let { dactyl } = this.modules;
XML.ignoreWhitespace = XML.prettyPrinting = false;
dactyl.echo(<><!--L-->Element:<br/>{util.objectToString(elem, true)}</>);
},
+1 -1
View File
@@ -1456,7 +1456,7 @@ var DOM = Class("DOM", {
* @returns {Node}
*/
fromXML: function fromXML(node, doc, nodes) {
XML.prettyPrinting = false;
XML.ignoreWhitespace = XML.prettyPrinting = false;
if (typeof node === "string") // Sandboxes can't currently pass us XML objects.
node = XML(node);