- Enhancement: Allow callback argument and return promise

for canvas methods: `rasterExport` and `exportPDF`
This commit is contained in:
Brett Zamir
2018-05-30 16:47:20 +08:00
parent a5ad91a370
commit f2b1a1ff0c
9 changed files with 231 additions and 177 deletions

View File

@@ -1397,7 +1397,7 @@ editor.init = function () {
if (done !== 'all') {
let note = uiStrings.notification.saveFromBrowser.replace('%s', data.type);
// Check if there's issues
// Check if there are issues
if (issues.length) {
const pre = '\n \u2022 ';
note += ('\n\n' + uiStrings.notification.noteTheseIssues + pre + issues.join(pre));