js-binary icon indicating copy to clipboard operation
js-binary copied to clipboard

Trying to integrate js-binary with Adobe JSFL

Open janimator0 opened this issue 7 years ago • 2 comments

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!

janimator0 avatar Apr 12 '18 02:04 janimator0

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 [email protected] 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 .

sitegui avatar Apr 12 '18 11:04 sitegui

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?

janimator0 avatar Apr 15 '18 20:04 janimator0