Commit 2c2d33f0 authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Romain Courteaud

Define nonexisting DOMError for Safari

Fix JIO crash when running inside Safari because of non-existing DOMError object

/reviewed-on nexedi/jio!47
parent 5adb88f7
......@@ -10,6 +10,11 @@
};
}
/* Safari does not define DOMError */
if (window.DOMError === undefined) {
window.DOMError = {};
}
var util = {},
jIO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment