Open janimator0 opened 6 years ago
This lib was implemented to work in a nodejs environment. If you want to run it in a different setup, you can use a tool to port it, like browserify. It resolves references to module and require statically
Le mer. 11 avr. 2018 à 23:23, Jay notifications@github.com a écrit :
I'm not too experienced in javascript, but I have been eager to be able to convert my JSON files into the binary format as an integration into my JSFL scripts (Adobe Animate CC extension scripts). JSFL is essentially just javascript used for the purposes of adding extra tools onto Adobe Animate CC.
The problem I am facing is that I keep receiving ReferenceError: module is not defined. I've never used 'module' before so I'm guessing JSFL just doesn't support it? Any idea's how I may bypass this problem? Thanks for your time!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sitegui/js-binary/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ACq_p5OWGoAlsG8OkJA2WmRMroHoPswfks5tnrqdgaJpZM4TRCGW .
After spending many hours on trying to port over js-lib to jsfl, I've not been able to achieve this mainly do to my lack of experience with javascript and browserify. Any chance I can commision you to create me a standalone copy of js-binary?
I'm not too experienced in javascript, but I have been eager to be able to convert my JSON files into the binary format as an integration into my JSFL scripts (Adobe Animate CC extension scripts). JSFL is essentially just javascript used for the purposes of adding extra tools onto Adobe Animate CC.
The problem I am facing is that I keep receiving
ReferenceError: module is not defined.
I've never used 'module' before so I'm guessing JSFL just doesn't support it? Any idea's how I may bypass this problem? Thanks for your time!