mozilla/addon-sdk — pull request #505 by ochameau (2012-07-23 11:21:30+00:00)
Title: Bug 774636: reject all usages of `Components` in favor of require(chrome)

I had to modify some files with usages of Components but non of them was real usage of it, i.e. from a CommonJS module. So I just modify them to avoid error in cfx.

So this patch reject Components usage, even if the module uses `require("chrome")`.

https://bugzilla.mozilla.org/show_bug.cgi?id=774636