update tests

This commit is contained in:
JFH
2021-03-18 23:50:20 +01:00
parent 18ec805fab
commit a493dad418
5 changed files with 23671 additions and 72 deletions

View File

@@ -218,14 +218,6 @@ export default class ConfigObj {
if (!curConfig.noDefaultExtensions) {
curConfig.extensions = [...this.defaultExtensions];
}
// ...and remove any dupes
/*
['extensions', 'allowedOrigins'].forEach(function (cfg) {
curConfig[cfg] = $.grep(curConfig[cfg], function (n, i) { // Supposedly faster than filter per http://amandeep1986.blogspot.hk/2015/02/jquery-grep-vs-js-filter.html
return i === curConfig[cfg].indexOf(n);
});
});
*/
// Export updated config
this.curConfig = curConfig;
}

View File

@@ -28,8 +28,7 @@
</head>
<body>
<div id="svg_editor" role="main">
</div>
<div id="svg_editor" role="main"></div>
</body>
</html>