diff options
| author | mrmr1993 | 2015-05-29 12:37:16 +0100 |
|---|---|---|
| committer | mrmr1993 | 2015-05-29 12:37:16 +0100 |
| commit | 5b24b564a42ac5533bbb031f24b07c42beebd65e (patch) | |
| tree | fcf500edf82e83125dac204d48316737204db1b0 | |
| parent | ea535672d76b0b5f847af346434ab996f461f68c (diff) | |
| download | vimium-5b24b564a42ac5533bbb031f24b07c42beebd65e.tar.bz2 | |
Make a check more coffeescript-y
| -rw-r--r-- | lib/settings.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/settings.coffee b/lib/settings.coffee index 27d3efed..dd667dbd 100644 --- a/lib/settings.coffee +++ b/lib/settings.coffee @@ -92,7 +92,7 @@ root.Settings = Settings = # postUpdateHooks convenience wrapper performPostUpdateHook: (key, value) -> - @postUpdateHooks[key] value if @postUpdateHooks[key] + @postUpdateHooks[key]? value # Only ever called from asynchronous synced-storage callbacks (fetchAsync and handleStorageUpdate). storeAndPropagate: (key, value) -> |
