summaryrefslogtreecommitdiffstats
path: root/src/webview/plugin.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-11-12 21:38:31 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-11-12 21:38:31 +0100
commitbae9c632654b3fb67c478997b13e3b85874884d7 (patch)
tree95c7e419d5598e1ededbe0032e2dfb49416451c8 /src/webview/plugin.js
parentAdd settings option to toggle spell checker (diff)
downloadferdium-app-bae9c632654b3fb67c478997b13e3b85874884d7.tar.gz
ferdium-app-bae9c632654b3fb67c478997b13e3b85874884d7.tar.zst
ferdium-app-bae9c632654b3fb67c478997b13e3b85874884d7.zip
es6 refactor
Diffstat (limited to 'src/webview/plugin.js')
-rw-r--r--src/webview/plugin.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webview/plugin.js b/src/webview/plugin.js
index ffc9084e4..569fa9493 100644
--- a/src/webview/plugin.js
+++ b/src/webview/plugin.js
@@ -1,11 +1,11 @@
1const { ipcRenderer } = require('electron'); 1import { ipcRenderer } from 'electron';
2const path = require('path'); 2import path from 'path';
3 3
4const RecipeWebview = require('./lib/RecipeWebview'); 4import RecipeWebview from './lib/RecipeWebview';
5 5
6require('./notifications.js'); 6import './spellchecker.js';
7require('./spellchecker.js'); 7import './notifications.js';
8require('./ime.js'); 8import './ime.js';
9 9
10ipcRenderer.on('initializeRecipe', (e, data) => { 10ipcRenderer.on('initializeRecipe', (e, data) => {
11 const modulePath = path.join(data.recipe.path, 'webview.js'); 11 const modulePath = path.join(data.recipe.path, 'webview.js');