Gaia: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
m (add Subpages section, seems useful)
Line 62: Line 62:


http://code.google.com/closure/utilities/docs/linter_howto.html
http://code.google.com/closure/utilities/docs/linter_howto.html
== Subpages of {{FULLPAGENAME}}==
{{Special:PrefixIndex/{{FULLPAGENAME}}/}}

Revision as of 01:16, 29 February 2012

About

Gaia is a collection of web apps which make up the UI for the Boot to Gecko project.

Apps

  • Home screen (webGL cjones/ HTML vingtetun)
    • Keyboard/IME (vingtetun/timdream)
      • Chinese ZhuYing IME (timdream)
  • Lock screen (gal)
  • Dialer (vingtetun)
  • SMS application (vingtetun)
  • Browser (benfrancis)
  • Gallery (benfrancis)
  • Camera (benfrancis)
  • Media Player - benfrancis started on a music app which stores an Ogg file in IndexedDB, but someone else can take this up if they want, along with video playback
  • App Manager (justindarc)
  • Settings (justindarc)
  • UI/widget library (justindarc)
  • Apps store (justindarc)
  • eBook reader

Contributing

Filing Bugs

Issues are filed on Github.

Hacking

You can fork us on Github, then send a pull request.

A lot of the apps should be able to run in a web browser (particularly Firefox Nightly), but sometimes you may need to run them on B2G until new APIs land in browsers. See Gaia/Hacking to get started.

Communicating

You can find us in #gaia on irc.mozilla.org and we use the B2G mailing list.

Coding Style

  • make sure HTML files are declared <!DOCTYPE html> (i.e., HTML5). IE9+ will load them in compatibility mode otherwise.
  • add a "use strict"; statement (exactly that!) to the top of your JS files
  • 2 spaces for indentation - do not use tab.
  • Line break are free (I promise) don't hesitate to use them to separate logical block inside your functions.
  • Files are named like_this.js.
  • Use single quote instead of double quotes.
  • Additional rules:

Bad:

if (expression) doSomething();

Correct:

if (expression)
  doSomething();

Before submitting a patch

On each javascript files you are adding or you have modified, run:

gjslint --nojsdoc my_file.js

http://code.google.com/closure/utilities/docs/linter_howto.html

Subpages of Gaia