[IMP] playground: remove explicit template keys

This commit is contained in:
Géry Debongnie
2019-05-14 15:58:30 +02:00
parent 361ecbe90b
commit c836cead58
4 changed files with 38 additions and 66 deletions
-2
View File
@@ -64,7 +64,6 @@ while True:
class TabbedEditor extends owl.Component {
constructor() {
super(...arguments);
this.template = "tabbed-editor";
this.state = {
currentTab: this.props.display.split("|")[0]
};
@@ -142,7 +141,6 @@ class TabbedEditor extends owl.Component {
class App extends owl.Component {
constructor(...args) {
super(...args);
this.template = "playground";
this.version = owl._version;
this.SAMPLES = SAMPLES;
this.widgets = { TabbedEditor };