Skip to content

Commit

Permalink
createDocument signature for old firefox, fixes #63
Browse files Browse the repository at this point in the history
  • Loading branch information
ondras committed Jul 22, 2016
1 parent f6c83db commit fe7a43d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions my-mind.js
Original file line number Diff line number Diff line change
Expand Up @@ -2840,8 +2840,8 @@ MM.Format.FreeMind = Object.create(MM.Format, {
mime: {value: "application/x-freemind"}
});

MM.Format.FreeMind.to = function(data) {
var doc = document.implementation.createDocument(null, null);
MM.Format.FreeMind.to = function(data) {
var doc = document.implementation.createDocument("", "", null);
var map = doc.createElement("map");

map.setAttribute("version", "0.9.0");
Expand Down
4 changes: 2 additions & 2 deletions src/format.freemind.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ MM.Format.FreeMind = Object.create(MM.Format, {
mime: {value: "application/x-freemind"}
});

MM.Format.FreeMind.to = function(data) {
var doc = document.implementation.createDocument(null, null);
MM.Format.FreeMind.to = function(data) {
var doc = document.implementation.createDocument("", "", null);
var map = doc.createElement("map");

map.setAttribute("version", "0.9.0");
Expand Down

0 comments on commit fe7a43d

Please sign in to comment.