linkedin/inject — pull request #88 by lynns (2012-02-24 22:57:52+00:00)
Title: Fix bug where an '=' or ',' character right before the require statement breaks loading of module

Fix bug where an '=' or ',' character right before the require statement broke the loading of the module. I run into this situation a lot when I use uglify to minify my js code.

There's probably a better way to solve this by tweaking the main regex that extracts the require statements from the script but this works and provides some tests to demonstrate the problem.