imp: rename library into owl

This commit is contained in:
Géry Debongnie
2019-03-27 15:26:20 +01:00
parent e53287b52e
commit 80e2124cbf
11 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export function makeStore() {
);
const nextId = Math.max(0, ...todos.map(t => t.id || 0)) + 1;
const state = { todos, nextId };
const store = new odoo.extras.Store({ state, actions, mutations });
const store = new owl.extras.Store({ state, actions, mutations });
store.on("update", null, () => {
const state = JSON.stringify(store.state.todos);
window.localStorage.setItem(LOCALSTORAGE_KEY, state);