aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/api.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-29 13:26:09 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-29 13:26:09 -0700
commitd479107eb57fb59915693f47772d6e48ddd8b30d (patch)
tree4fe379737b200e5a94217344667d713d7c45cef4 /ext/fg/js/api.js
parent49951356572fe972ef01d0578861c39430520f19 (diff)
Cleanup
Diffstat (limited to 'ext/fg/js/api.js')
-rw-r--r--ext/fg/js/api.js8
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);
}