From 9220982cb1693de8b787ecc5980d9abe530e330e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Tue, 9 Apr 2019 14:02:43 +0200 Subject: [PATCH] update code to new owl semantics --- src/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.js b/src/app.js index e45a5ebe..2e18252e 100644 --- a/src/app.js +++ b/src/app.js @@ -21,7 +21,7 @@ const EDITOR_TEMPLATE = ` XML CSS -
+
`; class TabbedEditor extends Component { @@ -59,7 +59,7 @@ class TabbedEditor extends Component { }); } - componentDidUpdate() { + patched() { if (this.editor) { window.dispatchEvent(new Event("resize")); this.editor.setValue(this.props[this.state.currentTab], -1); @@ -131,7 +131,7 @@ const TEMPLATE = `
-
+
`;