- Build: Update
- Fix: Regression with Rollup config path - Docs: Update reference to location of IIFE config filemaster
parent
92635ba721
commit
40ff7380ee
|
@ -22199,7 +22199,7 @@ This will return the icon (as jQuery object) with a given ID.
|
|||
// events for each icon
|
||||
$.each(icons, function (id, icon) {
|
||||
icon.click(function () {
|
||||
alert('You clicked on the icon with id ' + id); // eslint-disable-line no-alert
|
||||
alert('You clicked on the icon with id ' + id);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ This will return the icon (as jQuery object) with a given ID.
|
|||
// events for each icon
|
||||
$.each(icons, function (id, icon) {
|
||||
icon.click(function () {
|
||||
alert('You clicked on the icon with id ' + id); // eslint-disable-line no-alert
|
||||
alert('You clicked on the icon with id ' + id);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -22205,7 +22205,7 @@
|
|||
// events for each icon
|
||||
$.each(icons, function (id, icon) {
|
||||
icon.click(function () {
|
||||
alert('You clicked on the icon with id ' + id); // eslint-disable-line no-alert
|
||||
alert('You clicked on the icon with id ' + id);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ function pt(e){var t=document.createElement("a");return t.setAttribute("href",e)
|
|||
// events for each icon
|
||||
$.each(icons, function (id, icon) {
|
||||
icon.click(function () {
|
||||
alert('You clicked on the icon with id ' + id); // eslint-disable-line no-alert
|
||||
alert('You clicked on the icon with id ' + id);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ SVG-Edit extensions are standalone JavaScript files that can be either
|
|||
included in the HTML file, loaded using `setConfig`, or indicated through
|
||||
the URL (see [ConfigOptions]{@tutorial ConfigOptions} for usage).
|
||||
|
||||
`svgedit-config-iife.js` in the project root directory (if
|
||||
`svgedit-config-iife.js` in the `src` directory (if
|
||||
through Git clone, by running `npm run build-by-config`) is the file used
|
||||
by `svg-editor.html` to execute commands before extensions are loaded,
|
||||
e.g., if you wish to make configuration changes which affect extension
|
||||
|
|
|
@ -36,10 +36,10 @@ window.svgEditor.modules = false;
|
|||
|
||||
export default [
|
||||
{
|
||||
input: 'svgedit-config-es.js',
|
||||
input: 'src/svgedit-config-es.js',
|
||||
output: {
|
||||
format: 'iife',
|
||||
file: 'svgedit-config-iife.js'
|
||||
file: 'src/svgedit-config-iife.js'
|
||||
},
|
||||
plugins
|
||||
},
|
||||
|
|
|
@ -22202,7 +22202,7 @@
|
|||
// events for each icon
|
||||
$.each(icons, function (id, icon) {
|
||||
icon.click(function () {
|
||||
alert('You clicked on the icon with id ' + id); // eslint-disable-line no-alert
|
||||
alert('You clicked on the icon with id ' + id);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -22202,7 +22202,7 @@
|
|||
// events for each icon
|
||||
$.each(icons, function (id, icon) {
|
||||
icon.click(function () {
|
||||
alert('You clicked on the icon with id ' + id); // eslint-disable-line no-alert
|
||||
alert('You clicked on the icon with id ' + id);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -36615,6 +36615,8 @@
|
|||
}))();
|
||||
|
||||
// TO BUILD AN IIFE VERSION OF THIS FILE (AS CAN WORK ON OLDER BROWSERS),
|
||||
window.svgEditor = editor;
|
||||
window.svgEditor.modules = false; // URL OVERRIDE CONFIG
|
||||
|
||||
editor.setConfig({
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue