From 26948ecb210f9ce002c5e5a699111a703594d8a8 Mon Sep 17 00:00:00 2001 From: Geoff Doty Date: Fri, 21 Jun 2019 07:07:12 -0500 Subject: [PATCH] fix global mixin --- app/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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