-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi, first of all this library is awesome, thanks for the contribution!
I would like to run Iroh against large js libraries like Jquery, React etc. however I am having trouble loading the entire library code into a string in order to pass it to Iroh.Stage()
. For example, if you try and load the entire jquery 3.4.1 code into a string using like so:
const jqueryCode = `<JQUERY_CODE_GOES_HERE>`;
const stage = new Iroh.Stage(code);
Then it raises this error:
Uncaught SyntaxError: Octal escape sequences are not allowed in template strings.
I suppose I could do some find/replace operations on jquery.js and make the code able to be stored in a string but this is time consuming and I would like to be able to run Iroh against ANY javascript library. Do you have any ideas on how I can achieve this? Thanks, Evan.
Metadata
Metadata
Assignees
Labels
No labels