なんかもうめっちゃ変えた
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ function attach(el) {
|
||||
clearTimeout(showTimer);
|
||||
hideTimer = setTimeout(close, 500);
|
||||
});
|
||||
tag = riot.mount(document.body.appendChild(preview), {
|
||||
tag = (riot as any).mount(document.body.appendChild(preview), {
|
||||
user: user
|
||||
})[0];
|
||||
};
|
||||
@@ -3,7 +3,7 @@ import * as riot from 'riot';
|
||||
// ミックスインにオプションを渡せないのアレ
|
||||
// SEE: https://github.com/riot/riot/issues/2434
|
||||
|
||||
riot.mixin('widget', {
|
||||
(riot as any).mixin('widget', {
|
||||
init: function() {
|
||||
this.mixin('i');
|
||||
this.mixin('api');
|
||||
Reference in New Issue
Block a user