update master to V7
This commit is contained in:
@@ -5,8 +5,12 @@ For default config and extensions (and available options) available to
|
||||
*/
|
||||
|
||||
import './jquery.min.js';
|
||||
import './jquery-ui/jquery-ui-1.8.17.custom.min.js';
|
||||
import svgEditor from './svgedit.js';
|
||||
import './components/index.js';
|
||||
import './dialogs/index.js';
|
||||
import Editor from './Editor.js';
|
||||
|
||||
const svgEditor = new Editor();
|
||||
svgEditor.init();
|
||||
|
||||
// URL OVERRIDE CONFIG
|
||||
svgEditor.setConfig({
|
||||
@@ -56,7 +60,6 @@ svgEditor.setConfig({
|
||||
// opacity: 1
|
||||
// },
|
||||
// initOpacity: 1,
|
||||
// colorPickerCSS: null,
|
||||
// initTool: 'select',
|
||||
// exportWindowType: 'new', // 'same'
|
||||
// wireframe: false,
|
||||
@@ -138,8 +141,6 @@ try { // try clause to avoid js to complain if XDOMAIN undefined
|
||||
canvasName: 'xdomain', // Namespace this
|
||||
allowedOrigins: ['*']
|
||||
});
|
||||
// eslint-disable-next-line no-console
|
||||
console.info('xdomain config activated');
|
||||
}
|
||||
} catch (error) {
|
||||
}
|
||||
} catch (error) {/* empty fn */}
|
||||
|
||||
Reference in New Issue
Block a user