mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 18:33:08 +02:00
[Client] Remove an unused mixin
This commit is contained in:
parent
8a5c5de43c
commit
ac655612a7
2 changed files with 0 additions and 9 deletions
|
@ -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