4
dist/editor/embedapi.js
vendored
4
dist/editor/embedapi.js
vendored
@@ -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); });
|
||||
|
||||
2
dist/editor/index.js
vendored
2
dist/editor/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/editor/index.js.map
vendored
2
dist/editor/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/editor/spinbtn/jQuery.SpinButton.js
vendored
2
dist/editor/spinbtn/jQuery.SpinButton.js
vendored
@@ -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.
|
||||
|
||||
4
dist/editor/system/embedapi.js
vendored
4
dist/editor/system/embedapi.js
vendored
@@ -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); });
|
||||
|
||||
2
dist/editor/system/index.js
vendored
2
dist/editor/system/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -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.
|
||||
|
||||
2
dist/editor/xdomain-index.js
vendored
2
dist/editor/xdomain-index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/editor/xdomain-index.js.map
vendored
2
dist/editor/xdomain-index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user