aboutsummaryrefslogtreecommitdiffstats
path: root/options.js
diff options
context:
space:
mode:
authorTeddy Wing2017-03-18 21:19:16 +0100
committerTeddy Wing2017-03-18 21:19:16 +0100
commit163d73a6df69517a28559390d293f7a82449e852 (patch)
treef64bd6dcd9212abcc4f045699df3f1b60527b92d /options.js
parentb0f4427298e3fcd6d6c006adb005c3d06f92cddc (diff)
downloadchrome-timetasker-163d73a6df69517a28559390d293f7a82449e852.tar.bz2
timetasker.js: Load fields from options
Query the Chrome storage API to get user options for time entry fields. Replace our hard-coded values with user-entered ones. This allows the extension to work for others without requiring modification of the source code. In order to be able to pull the options, I had to move the main extension code into a callback function that can be passed to `chrome.storage.sync.get`.
Diffstat (limited to 'options.js')
0 files changed, 0 insertions, 0 deletions