diff options
| author | Teddy Wing | 2017-03-18 21:19:16 +0100 |
|---|---|---|
| committer | Teddy Wing | 2017-03-18 21:19:16 +0100 |
| commit | 163d73a6df69517a28559390d293f7a82449e852 (patch) | |
| tree | f64bd6dcd9212abcc4f045699df3f1b60527b92d /options.js | |
| parent | b0f4427298e3fcd6d6c006adb005c3d06f92cddc (diff) | |
| download | chrome-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
