systemjs/systemjs — pull request #95 by Sanjo (2014-05-18 00:05:03+00:00)
Title: fix: Registering minified modules without dependencies throws error

Uglify-js removes the declaration function parameter from declaration functions that don't have dependencies because the argument is not used in the declaration function in this case.
I added the extra check for the number of dependencies to not throw an error in this case.