config.js 507 B

123456789101112131415161718
  1. /*globals svgEditor*/
  2. /* see https://code.google.com/p/svg-edit/wiki/ConfigOptions */
  3. svgEditor.setConfig({
  4. extensions: [
  5. 'ext-php_savefile_chamilo.js',
  6. 'ext-eyedropper.js',
  7. 'ext-shapes.js',
  8. 'ext-polygon.js',
  9. 'ext-star.js'
  10. ],
  11. noStorageOnLoad: 'true',
  12. selectNew: true,
  13. no_save_warning: true,
  14. emptyStorageOnDecline: true,
  15. iconsize: 'm',
  16. allowedOrigins: [window.location.origin] // May be 'null' (as a string) when used as a file:// URL
  17. });