
Overview:
A good description of the basic service and high-level overview can be
found on the wiki:
https://wiki.palm.com/display/~Steven+Grafton/filenotifyd+triton

Starting with submission 62 and up node is required.

Starting with bb file 1.0.8, Google's closure compiler will be used to minify
and optimize code, this requires submission 62 or later.

To run the closure compiler alone:
java -jar build_palm_castle_release/staging/closure/compiler.jar --help

Coding style:
http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
Try to follow this, but there is tabs (8 character wide) instead of spaces.
Next project will probably just follow the style guide exactly.

var CONST_PARAM = false;

function Constructor(a) {
	this.a = a;
}

Constructor.prototype.doSomething = function(value, optionalArgument_) {
	var localVariable = 'primitive string';

	function subRoutine() {
		alert('hi');
	}

	this.a = value + (optionalArgument_ || 1);

	if (CONST_PARAM === false) {
		subRoutine();
	}
};

To run tests:
triton-test all_tests.json

