Gaia: Difference between revisions
Jump to navigation
Jump to search
(→Apps) |
Benfrancis (talk | contribs) (→Apps) |
||
| Line 42: | Line 42: | ||
* Dialer (vingtetun) | * Dialer (vingtetun) | ||
* SMS application (vingtetun) | * SMS application (vingtetun) | ||
*Browser (benfrancis) | * [[Gaia/Browser|Browser]] (benfrancis) | ||
* | * [[Gaia/Gallery|Gallery]] (benfrancis) | ||
* [[Gaia/Camera|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) | * App Manager (justindarc) | ||
* Settings (justindarc) | * Settings (justindarc) | ||
Revision as of 13:32, 24 January 2012
Hacking Gaia
see Gaia/Hacking
Coding Style
- Background:
- 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
Apps
- Home screen (webGL cjones/ HTML vingtetun)
- Keyboard/IME (vingtetun/timdream)
- Chinese ZhuYing IME (timdream)
- Keyboard/IME (vingtetun/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