A fork of https://github.com/ueokande/vim-vixen
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
306 B
18 lines
306 B
7 years ago
|
import { WINDOWS_CREATE, WINDOWS_REMOVE } from '../shared/messages';
|
||
|
import * as ipc from './ipc';
|
||
|
|
||
|
const create = () => {
|
||
|
return ipc.send({
|
||
|
type: WINDOWS_CREATE
|
||
|
});
|
||
|
};
|
||
|
|
||
|
const remove = (windowId) => {
|
||
|
return ipc.send({
|
||
|
type: WINDOWS_REMOVE,
|
||
|
windowId,
|
||
|
});
|
||
|
};
|
||
|
|
||
|
export { create, remove };
|