external scripts with double square brackets
Hey folks,
i wanted to implement the fuse.js library in a modern form button action. I used the Execute Script action with option Dynamic file path to import the script. The problem is that in the fuse.js library source code is a line:
return r&&(i.indices=[[0,e.length-1]])
and now skybow throws error: Placeholder [[0,e.length-1]] is unknown How can i avoid this? The double square brackets seems to be some EcmaScript functionality https://262.ecma-international.org/5.1/#sec-8.6.2
As a workaround i am using now the custom.js solution from here
If you have another better way, please share.
Thank you
Marko
0
Please sign in to leave a comment.
Comments
0 comments