message constants
This commit is contained in:
parent
83cb277ba2
commit
c7a3dd16e6
5 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue