xyc
2025-02-21 664db98c9e8595ce4dd636a27f480e3a08b81ff5
1
2
3
4
5
6
7
8
// This file should only load if the user's browser doesn't support ESM
// This file will be stripped from the non-modular versions
 
// We only need to replace the first instance
location.href = location.href
  .replace(/(xdomain-)?svg-editor-es\.html/, 'svg-editor.html')
  .replace('openclipart-es.html', 'openclipart.html')
  .replace('imagelib/index-es.html', 'imagelib/index.html');