diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-29 13:26:09 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-29 13:26:09 -0700 |
commit | d479107eb57fb59915693f47772d6e48ddd8b30d (patch) | |
tree | 4fe379737b200e5a94217344667d713d7c45cef4 /ext/fg/js/api.js | |
parent | 49951356572fe972ef01d0578861c39430520f19 (diff) |
Cleanup
Diffstat (limited to 'ext/fg/js/api.js')
-rw-r--r-- | ext/fg/js/api.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js index ecd8dd36..5d060311 100644 --- a/ext/fg/js/api.js +++ b/ext/fg/js/api.js @@ -41,10 +41,10 @@ function bgGetState(callback) { bgSendMessage('getState', {}, callback); } -function bgCanAddNotes(definitions, modes, callback) { - bgSendMessage('canAddNotes', {definitions, modes}, callback); +function bgCanAddDefinitions(definitions, modes, callback) { + bgSendMessage('canAddDefinitions', {definitions, modes}, callback); } -function bgAddNote(definition, mode, callback) { - bgSendMessage('addNote', {definition, mode}, callback); +function bgAddDefinition(definition, mode, callback) { + bgSendMessage('addDefinition', {definition, mode}, callback); } |