google/closure-compiler — pull request #630 by sayrer (2014-09-22 06:23:50+00:00)
Title: Allow usage of goog.require from processed CommonJS modules.

This patch works, but leaves the assumption that all inputs are CommonJS,
guarded only by a null check after ProcessCommonJSModules.getModule near
line 1564 of Compiler.java.