diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-16 20:26:13 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-16 21:08:18 +0900 |
commit | c7a3dd16e666b5f844bc98f19e58a3fe9967b5a4 (patch) | |
tree | 58bc3b854a93a98dfc6f0e65f684f52c95bb8a77 /src/actions | |
parent | 83cb277ba2af2bc2f87ace1d97fa582a7043bcd5 (diff) |
message constants
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/operation.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/operation.js b/src/actions/operation.js index 2009818..e589b89 100644 --- a/src/actions/operation.js +++ b/src/actions/operation.js @@ -1,4 +1,5 @@ import operations from '../operations'; +import messages from '../messages'; import * as consoleActions from './console'; import * as tabs from '../background/tabs'; import * as zooms from '../background/zooms'; @@ -34,7 +35,7 @@ export function exec(operation, tab) { return consoleActions.showCommand('buffer '); default: return browser.tabs.sendMessage(tab.id, { - type: 'require.content.operation', + type: messages.CONTENT_OPERATION, operation }); } |