thinkpixellab / PxLoader

PxLoader is a simple JavasScript library for creating preloaders and resource downloaders for HTML5 apps.
http://thinkpixellab.com/pxloader
1.11k stars 173 forks source link

AMD-ified #18

Closed nick-jonas closed 11 years ago

nick-jonas commented 11 years ago

I added AMD-ified files that can be included for projects that use AMD systems like RequireJS.

joelfillmore commented 11 years ago

This is a good idea, but I'd rather add support to the existing code rather than having duplicate files with an AMD wrapper. There is an example of that approach in the following page (under the Conditional AMD Support header): http://dailyjs.com/2011/12/22/framework/