[Client] Remove an unused mixin
This commit is contained in:
parent
8a5c5de43c
commit
ac655612a7
|
@ -4,7 +4,6 @@ module.exports = me => {
|
|||
if (me) require('./scripts/stream')(me);
|
||||
|
||||
require('./scripts/user-preview');
|
||||
require('./scripts/open-window');
|
||||
|
||||
riot.mixin('notify', {
|
||||
notify: require('./scripts/notify')
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
const riot = require('riot');
|
||||
|
||||
riot.mixin('open-window', {
|
||||
openWindow: (name, opts) => {
|
||||
const window = document.body.appendChild(document.createElement(name));
|
||||
return riot.mount(window, opts)[0];
|
||||
}
|
||||
});
|
Loading…
Reference in a new issue