xyc
2024-05-17 6b24f642b01cf3cd1be0d5833273fa2867d389e1
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');