Skip to content

Commit

Permalink
Remove accidental inclusion of xmldom in js
Browse files Browse the repository at this point in the history
  • Loading branch information
edemaine committed Aug 20, 2021
1 parent 9bfae1a commit d5b23b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions dist/fold.js
Original file line number Diff line number Diff line change
Expand Up @@ -2350,11 +2350,11 @@ geom.quadSplit = function(u, p, d, t) {
var DOMParser, convert, filter, oripa, ref, x, y;

if (typeof DOMParser === "undefined" || DOMParser === null) {
DOMParser = require('xmldom').DOMParser;
DOMParser = require('@xmldom/xmldom').DOMParser;
}

//XMLSerializer = require('xmldom').XMLSerializer unless XMLSerializer?
//DOMImplementation = require('xmldom').DOMImplementation unless DOMImplementation?
//XMLSerializer = require('@xmldom/xmldom').XMLSerializer unless XMLSerializer?
//DOMImplementation = require('@xmldom/xmldom').DOMImplementation unless DOMImplementation?
convert = require('./convert');

filter = require('./filter');
Expand Down Expand Up @@ -2597,7 +2597,7 @@ convert.setConverter('.fold', '.opx', oripa.fromFold);
convert.setConverter('.opx', '.fold', oripa.toFold);


},{"./convert":2,"./filter":3,"xmldom":1}],6:[function(require,module,exports){
},{"./convert":2,"./filter":3,"@xmldom/xmldom":1}],6:[function(require,module,exports){
var DEFAULTS, STYLES, SVGNS, geom, viewer;

geom = require('./geom');
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fold",
"version": "0.11.2",
"version": "0.11.3",
"description": "FOLD file format for origami models, crease patterns, etc.",
"main": "lib/index.js",
"bin": {
Expand Down Expand Up @@ -47,7 +47,7 @@
"jest-preset-coffeescript": "1.1.1"
},
"browser": {
"xmldom": false,
"@xmldom/xmldom": false,
"./src/file.coffee": false
},
"jest": {
Expand Down

0 comments on commit d5b23b6

Please sign in to comment.