glfx.js
glfx.js copied to clipboard
added bower.json, package.json, and dist/glfx.js
For submitting to npm and bower. I plan to submit these myself, but can wait if you'd like to instead. Great library, thanks!
Hi, just checking if you'd be willing to pull this in -- it would make it much easier to include this excellent work in other modules! Thanks!
I went ahead and published on npm under [email protected]. If you want access as well @jywarren I can add you. @evanw any chance you could add us as collabs to the project? Would be happy to get this in a better state for reuse.
I got too eager and accidentally deleted the "main" line in 0.0.1, added that back in 0.0.2. If we can get this merged, I'll open a PR that adjusts the package.json.
hmm, sure, happy to be added, though not sure there's much else I have to offer. Thanks!
On Thu, Dec 8, 2016 at 12:02 PM, Tim Branyen [email protected] wrote:
I got too eager and accidentally deleted the "main" line in 0.0.1, added that back in 0.0.2. If we can get this merged, I'll open a PR that adjusts the package.json.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/evanw/glfx.js/pull/31#issuecomment-265794162, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJzjtDbS5iorxjHUf3mL6IWun4c3qks5rGDgmgaJpZM4H0tpa .
@jywarren I was able to get the module working w/ ES/CJS/global so you can do this now:
npm install [email protected]
ES Modules:
import fx from 'gflx';
CJS:
const { canvas } = require('fx');
Global:
<script src="node_modules/glfx/glfx.js"></script>
<script>
const canvas = window.fx.canvas():
</script>