Gitlab CSE Unil

Commit e493f9d0 authored by M. Chardon's avatar M. Chardon
Browse files

résolution bug export png/svg

parent 3f945b16
define([ define([
"jquery", "jquery",
"paper", "paper",
"FileSaver", "FileSaver.js",
"adim/view", "adim/view",
"adim/config", "adim/config",
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
// Main requirejs configuration // Main requirejs configuration
requirejs.config({ requirejs.config({
packages: [{
name: 'FileSaver.js',
location: '../_src/lib/FileSaver/',// path where you have placed FileSaver.js file
main: 'FileSaver.js'
paths: { paths: {
adim: '../_src/adim', adim: '../_src/adim',
tools: '../_src/adim/tools', tools: '../_src/adim/tools',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment