eldarion / eldarion-ajax

a library for adding declarative ajax functionality to your website
BSD 3-Clause "New" or "Revised" License
758 stars 153 forks source link

Use UMD. Now works in CommonJS when window.$ is undefined #77

Closed callumacrae closed 9 years ago

callumacrae commented 9 years ago

window.$ is undefined because I'm using Browserify to load everything, and setting it is hacky. This fix adds UMD to this project :smile:

paltman commented 9 years ago

Thanks!

callumacrae commented 9 years ago

Awesome :) how long will it be until this is in a release?

callumacrae commented 9 years ago

@paltman Hey, any update on releasing this? Could really use it, it's the last thing stopping me from getting rid of my window.jQuery hack!

paltman commented 9 years ago

@callumacrae I just published 0.13.0. It's not showing up on npmjs.org yet, but I assume that is just some caching.

callumacrae commented 9 years ago

It's showing for me. Thanks! :smile: