diff --git a/index.html b/index.html
index f0f836b4..e310cf04 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
- Odoo Web Lab Playground
+ OWL Playground
@@ -10,7 +10,7 @@
-
+
diff --git a/src/playground.js b/src/app.js
similarity index 92%
rename from src/playground.js
rename to src/app.js
index a7f5fb20..eb86fa14 100644
--- a/src/playground.js
+++ b/src/app.js
@@ -43,7 +43,7 @@ const TEMPLATE = `
`;
-class Playground extends Component {
+class App extends Component {
constructor(...args) {
super(...args);
this.version = owl._version;
@@ -142,9 +142,13 @@ class Playground extends Component {
}
}
+//------------------------------------------------------------------------------
+// Application initialization
+//------------------------------------------------------------------------------
+document.title = `${document.title} (v${owl._version})`;
document.addEventListener("DOMContentLoaded", async function() {
const qweb = new QWeb();
const env = { qweb };
- const playground = new Playground(env);
- playground.mount(document.body);
+ const app = new App(env);
+ app.mount(document.body);
});