Just as angular modules (angular-messages, ui-router) published on NPM,
this module should be a proper commonjs module. This way it can be
require()d just as those modules.
Just as the official angular modules, this creates an index.js that does the
actual export, guarded by a commen check for a commonjs environment.
Coverage remained the same at 99.286% when pulling 7c3dc452ae775bc25c812dc81a78657d7acd30e2 on SanderSmee:master into 2370dde99dbdcd2ec12ccf5c4d9f8be29f5df11c on jcassee:master.
Just as angular modules (angular-messages, ui-router) published on NPM, this module should be a proper commonjs module. This way it can be
require()
d just as those modules.Just as the official angular modules, this creates an index.js that does the actual export, guarded by a commen check for a commonjs environment.
Fix for jcassee/angular-hypermedia#42