rstacruz/nprogress — pull request #75 by shaqq (2014-04-08 19:51:11+00:00)
Title: stronger check on module

karma uses `module` as a function as well, but `NProgress` should live in the window object if it's run by karma.

from http://addyosmani.com/writing-modular-js/