imakewebthings/jquery-waypoints — pull request #118 by busticated (2013-01-10 16:38:43+00:00)
Title: First crack at optionally supporting AMD-style module loading...

Hey there -

Here's what I've come up with. All told, it *seems* solid? All tests continue to pass when running normally or as an AMD module. A few things are giving me eye-twitch at the moment:

+ core waypoints plugin registers itself as a [named module](http://requirejs.org/docs/api.html#modulename)... not ideal but seems unavoidable given that the shortcuts plugs should declare their dependency on core. one heavy-handed possibility: include everything in core... it's all fairly tiny so maybe file size isn't a concern? in the meantime, i'll investigate other options.

+ testing approach seems kind of derpy... i'm a jasmine noob so... yeah.

+ need to update the minified versions... figure we can do that once this gets sorted

Anyway, let me know what ya think - totally open to refining all of this - and thanks for such an awesome lib!

-matt