Source types

Static

A static representation of data. Useful for displaying text or other values that don’t change.

Dynamic

A value that responds to changes in sources. Anytime a corresponding source updates, a widget that listens on that source will execute its parser.

Calculated

A value that should be dynamic but does not need to respond to source updates. One example is for analytics sources that use time-based values to query. Example:

	//return the yesterday's date at midnight
	var d = new Date();
	d.setDate(d.getDate() - 1);
	d.setHours(0,0,0,0);
	return d.getTime()/1000;