summaryrefslogtreecommitdiff
path: root/ext/fg/js/api.js
diff options
context:
space:
mode:
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);
}