fix global mixin

This commit is contained in:
Geoff Doty 2019-06-21 07:07:12 -05:00
parent fd8d03fc11
commit 26948ecb21
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ const APP = {
// Global Riot Mixins // Global Riot Mixins
// ----------------------------------------------- // -----------------------------------------------
riot.mixin = { riot.mixin({
store: { store: {
get: function (key) { get: function (key) {
return window.localStorage.getItem(key); return window.localStorage.getItem(key);
@ -25,7 +25,7 @@ riot.mixin = {
} }
}, },
relay: riot.observable() relay: riot.observable()
}; });
// ----------------------------------------------- // -----------------------------------------------
// Routing // Routing