allow api.function.export to take optional callback function to receive gcode

This commit is contained in:
Stewart Allen 2020-07-03 20:41:43 -04:00
commit 0a9256eb36
2 changed files with 12 additions and 8 deletions

View file

@ -205,7 +205,7 @@
function: {
slice: prepareSlices,
print: preparePrint,
export: function() { KIRI.export() },
export: function() { KIRI.export(...arguments) },
cancel: cancelWorker,
clear: clearWidgetCache
},