jrburke/requirejs — pull request #548 by amylo (2012-12-02 07:02:44+00:00)
Title: Fix for Issue #174 - checks for reserved names are used in module callback variable

Hi James,

Sorry I was having trouble with git. But I realized it much easier to make a branch with the changes and send you the pull request with it. This properly shows which lines I added. Sorry I'm newb.

Anyways, I added a function that checks the callback function being passed into require() and define(), and parses the callback function's argument names to see that they're valid. If they are not valid, it will throw a console.warn()