1
0

なんかもうめっちゃ変えた

This commit is contained in:
syuilo
2017-11-13 18:05:35 +09:00
parent f8dddc81e2
commit bc9a8283c6
77 changed files with 170 additions and 165 deletions
@@ -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');