asmblah / uniter

🎉 PHP in the browser and Node.js => Docs: https://phptojs.com/
https://asmblah.github.io/uniter/
Other
446 stars 42 forks source link

Can I run uniter through the "script" tag? #9

Closed katetem closed 8 years ago

katetem commented 10 years ago

Also I want to load the script through "src" attribute so I can separate the script.

asmblah commented 9 years ago

Hi @katetem,

Sorry I never got back to you on this. I've just tagged v0.2.2 with Browserify support, and I've included a pre-built bundle of the core in the dist/ folder, so in your case you should be able to just include with <script src="<your-path>/dist/uniter.js"></script> and then access the uniter global variable.

Hope this helps! Dan

asmblah commented 8 years ago

Hi @katetem,

I'm closing this issue as it's been open for a while now. If you still have a question, feel free to open it again.

Cheers, Dan