* @author arunjit@google.com (Arunjit Singh)
*/
-var CONSTANTS = {
+export const CONSTANTS = {
/**
* The available time ranges (in hours). -1 => eternity.
* @type {Array.<number>}
* @const
*/
- TIMES: [-1, 1, 2, 24, 168],
+ TIMES: [-1, 1, 2, 24, 168, 336, 720],
/**
* The default time (in hours)
* @type {number}
* @type {string}
* @const
*/
- NO: 'no'
-};
+ NO: 'no',
-/**
- * Go to the options page on first run
- */
-if (!localStorage['options-set']) {
- var optionsPageURL = chrome.extension.getURL('/views/options.html');
- chrome.tabs.create({url: optionsPageURL});
- localStorage['options-set'] = 1;
-}
+ CLEANER_ALARM: 'auto-cleaner'
+};