added back polyfills for older browsers

This commit is contained in:
JFH
2020-07-28 00:59:20 +02:00
parent 42fbe6a1ba
commit 777d878dae
4 changed files with 59 additions and 8 deletions

View File

@@ -105,11 +105,11 @@ svgCanvas.setSvgString('string');
// Or if a callback is needed:
svgCanvas.setSvgString('string')(function (data, error) {
if (error) {
if (error) {
// There was an error
} else {
} else {
// Handle data
}
}
});
// Everything is done with the same API as the real svg-edit,

View File

@@ -65,8 +65,8 @@
};
$(function () {
// Initialise INPUT element(s) as SpinButtons: (passing options if desired)
$('#myInputElement').SpinButton(myOptions);
// Initialise INPUT element(s) as SpinButtons: (passing options if desired)
$('#myInputElement').SpinButton(myOptions);
});
*/
/**