scottburch/jasmine-require — pull request #1 by TheTrendyCyborg (2012-03-14 16:23:19+00:00)
Title: Checking for undefined callbacks

I've noted that it does work with standalone jasmine in the browser, and added a check to see if the callback for requireDependencies is undefined so a module that doesn't return anything (just executes code) can be loaded. For my project I use this for something that patches the Array's prototype object to add some helpful functions.

For example:

requireDependencies(['patches/array']);

is now possible whereas previously one needed to use

requireDependencies(['patches/array'],function(_array){});