cerebralideas / phi-polyfill

A polyfill library for phi.
0 stars 0 forks source link

Utilize RequireJS? #3

Open cerebrl opened 11 years ago

cerebrl commented 11 years ago

I still want to move forward with the idea of using AMD. Not sure if we make that call now, but rather than attaching phi as a global object, we can wrap it in a define() module in RequreJS, and include it as a dependency for all our components.

It will be a bit more difficult to setup, but it may be worth it. Thoughts?

cc @joshnh