arqex/amdrequire — pull request #1 by akania (2014-05-24 11:38:37+00:00)
Title: Define without dependencies should execute callback

Hi

According to requireJS api - user can define a module without specifying any dependencies, he can omit first argument and pass callback directly
http://requirejs.org/docs/api.html#define

So i added this to define - if there's no callback and first parameter is a function - execute it