Remove code with no consequences
This commit is contained in:
parent
fb657bf0cf
commit
da2a8dfdb0
1 changed files with 0 additions and 1 deletions
|
@ -2896,7 +2896,6 @@ Zotero.Integration.DocumentData.prototype.serializeXML = function() {
|
||||||
* Unserializes document-specific XML
|
* Unserializes document-specific XML
|
||||||
*/
|
*/
|
||||||
Zotero.Integration.DocumentData.prototype.unserializeXML = function(xmlData) {
|
Zotero.Integration.DocumentData.prototype.unserializeXML = function(xmlData) {
|
||||||
Components.classes["@mozilla.org/xul/xul-document;1"].getService(Components.interfaces.nsIDOMDocument)
|
|
||||||
var parser = Components.classes["@mozilla.org/xmlextras/domparser;1"]
|
var parser = Components.classes["@mozilla.org/xmlextras/domparser;1"]
|
||||||
.createInstance(Components.interfaces.nsIDOMParser);
|
.createInstance(Components.interfaces.nsIDOMParser);
|
||||||
xmlData = parser.parseFromString(xmlData, "application/xml").documentElement;
|
xmlData = parser.parseFromString(xmlData, "application/xml").documentElement;
|
||||||
|
|
Loading…
Reference in a new issue