* fix #447

* test and build
This commit is contained in:
JFH
2020-12-03 13:42:52 +01:00
committed by GitHub
parent e673b54ee2
commit ea7156232e
11 changed files with 13 additions and 13 deletions

View File

@@ -102,7 +102,7 @@ function getMessageListener (t) {
* - Have an iframe somewhere pointing to a version of svg-edit > r1000.
* @example
// Initialize the magic with:
svgCanvas = new EmbeddedSVGEdit(window.frames.svgedit);
const svgCanvas = new EmbeddedSVGEdit(window.frames.svgedit);
// Pass functions in this format:
svgCanvas.setSvgString('string');
@@ -130,7 +130,7 @@ svgCanvas.setSvgString('string')(function (data, error) {
// The only other difference is when handling returns:
// the callback notation is used instead.
blah = new EmbeddedSVGEdit(window.frames.svgedit);
const blah = new EmbeddedSVGEdit(window.frames.svgedit);
blah.clearSelection('woot', 'blah', 1337, [1, 2, 3, 4, 5, 'moo'], -42, {
a: 'tree', b: 6, c: 9
})(function () { console.log('GET DATA', args); });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -53,7 +53,7 @@
* @module jQuerySpinButton
* @example
// Create group of settings to initialise spinbutton(s). (Optional)
myOptions = {
const myOptions = {
min: 0, // Set lower limit.
max: 100, // Set upper limit.
step: 1, // Set increment size.

View File

@@ -102,7 +102,7 @@ function getMessageListener (t) {
* - Have an iframe somewhere pointing to a version of svg-edit > r1000.
* @example
// Initialize the magic with:
svgCanvas = new EmbeddedSVGEdit(window.frames.svgedit);
const svgCanvas = new EmbeddedSVGEdit(window.frames.svgedit);
// Pass functions in this format:
svgCanvas.setSvgString('string');
@@ -130,7 +130,7 @@ svgCanvas.setSvgString('string')(function (data, error) {
// The only other difference is when handling returns:
// the callback notation is used instead.
blah = new EmbeddedSVGEdit(window.frames.svgedit);
const blah = new EmbeddedSVGEdit(window.frames.svgedit);
blah.clearSelection('woot', 'blah', 1337, [1, 2, 3, 4, 5, 'moo'], -42, {
a: 'tree', b: 6, c: 9
})(function () { console.log('GET DATA', args); });

File diff suppressed because one or more lines are too long

View File

@@ -53,7 +53,7 @@
* @module jQuerySpinButton
* @example
// Create group of settings to initialise spinbutton(s). (Optional)
myOptions = {
const myOptions = {
min: 0, // Set lower limit.
max: 100, // Set upper limit.
step: 1, // Set increment size.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long