js-map-parser icon indicating copy to clipboard operation
js-map-parser copied to clipboard

Error reported on Promise related syntax

Open eanon opened this issue 2 years ago • 0 comments

Hello,

JS Map Parser reports an error on a Promise related syntax.

For example, this code (coming from a TinyMCE example) raises the error "Unexpected token >" on the first line.

const upload_img = (blobInfo, progress) => new Promise((resolve, reject) => {
  /* code here */
});

In case the development of this nice Notepad++ plugin would be active again in the future...

eanon avatar May 14 '22 18:05 eanon