diff --git a/app/js/app.js b/app/js/app.js index 437c13c..51918c6 100644 --- a/app/js/app.js +++ b/app/js/app.js @@ -12,7 +12,7 @@ const APP = { // Global Riot Mixins // ----------------------------------------------- -riot.mixin = { +riot.mixin({ store: { get: function (key) { return window.localStorage.getItem(key); @@ -25,7 +25,7 @@ riot.mixin = { } }, relay: riot.observable() -}; +}); // ----------------------------------------------- // Routing