fix global mixin
This commit is contained in:
parent
fd8d03fc11
commit
26948ecb21
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue