For convenience, you can clone this repository straight into the
src/media/js/lib directory of your frontend project. That way, you can
test your modules and handle revisions in the same place (without needing
to copy modules to a different folder to commit).
Be careful as running make install may overwrite changes you make
in that directory!
Updating a Module
When you update a module:
Bump the version in bower.json
Git tag that version and push to Github
(e.g., git tag v1.2.0 && git push origin v1.2.0)
Core JS modules for Firefox Marketplace frontend projects.
Developing Modules
For convenience, you can clone this repository straight into the
src/media/js/libdirectory of your frontend project. That way, you can test your modules and handle revisions in the same place (without needing to copy modules to a different folder to commit).Be careful as running
make installmay overwrite changes you make in that directory!Updating a Module
When you update a module:
bower.jsongit tag v1.2.0 && git push origin v1.2.0)make installto get these modules into your project and into your RequireJS development configurationAdding a Module
When adding an core module:
CORE_MODULESinlib/config.jsin CommonplaceThe Commonplace step will make it so Marketplace frontend projects won’t have to manually configure the module into their RequireJS configurations.