Core JS modules for Firefox Marketplace frontend projects
Перейти к файлу
Mark Striemer 7996b92f8e Return browser version in capabilities (bug 1124243) 2015-01-22 10:51:21 -06:00
tests Return browser version in capabilities (bug 1124243) 2015-01-22 10:51:21 -06:00
views Set test status in attributes 2015-01-09 07:46:26 -06:00
.gitignore add a gitignore 2014-11-12 12:12:40 -08:00
LICENSE Initial commit 2014-11-05 09:44:02 -08:00
README.md bump readme 2014-11-18 14:33:22 -08:00
assert.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
bower.json v1.4.1 2015-01-19 15:02:37 +01:00
buckets.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
builder.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
cache.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
capabilities.js Return browser version in capabilities (bug 1124243) 2015-01-22 10:51:21 -06:00
defer.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
format.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
forms.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
helpers.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
init.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
l10n.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
log.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
login.js Send action=signup on register to /fxa-migration (bug 1095626) 2014-11-27 10:58:40 -06:00
models.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
navigation.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
not_found.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
notification.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
nunjucks.compat.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
nunjucks.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
polyfill.js add `window.performance.now` polyfill (bug 1090572) 2014-11-18 12:30:26 -08:00
requests.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
site_config.js Allow location.origin for postMessage, send client_id to zamboni 2014-11-13 16:52:05 -06:00
storage.js 1.0.3: fix FakeStorage constructor (bug 1097309) 2014-11-11 19:09:45 -08:00
urls.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
user.js Update to handle false values of user settings 2014-11-10 10:21:07 -08:00
utils.js Return browser version in capabilities (bug 1124243) 2015-01-22 10:51:21 -06:00
views.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00
z.js modularize (bug 1094263) 2014-11-05 09:49:26 -08:00

README.md

Core JS modules for Firefox Marketplace frontend projects.

Developing Modules

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 updating 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)
  • Bump your project's bower.json to pull in the new changes
  • Run make install to get these modules into your project and into your RequireJS development configuration

Adding a Module

When adding an core module:

  • Commit the module
  • Add the name of the module to CORE_MODULES in lib/config.js in Commonplace
  • Follow the same steps above for Updating a Module

The Commonplace step will make it so Marketplace frontend projects won't have to manually configure the module into their RequireJS configurations.