]> git.wh0rd.org - chrome-ext/clearhistory-advance-fork.git/blobdiff - javascript/clearhistory.js
convert JS to ES6 modules
[chrome-ext/clearhistory-advance-fork.git] / javascript / clearhistory.js
index a8cad41640e15f00e6687d612886d5ce8bcca181..6cfa78562e94de461488ec642c1ce8bb13e4c0c1 100644 (file)
@@ -5,6 +5,9 @@
  * @author arunjit@google.com (Arunjit Singh)
  */
 
+import {CONSTANTS} from './background.js';
+import {getUnitsForTime} from './util.js';
+
 function getClearDate(s) {
   var time = ~~(s.time) || CONSTANTS.DEFAULT_TIME;
   if (time == -1)