Update user-profile.tag
This commit is contained in:
parent
2de118a45d
commit
030dbbc2eb
|
@ -80,20 +80,22 @@
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
this.age = require 's-age'
|
this.age = require('s-age');
|
||||||
|
|
||||||
this.mixin('i');
|
this.mixin('i');
|
||||||
|
|
||||||
this.user = this.opts.user
|
this.user = this.opts.user;
|
||||||
|
|
||||||
this.show-following = () => {
|
this.showFollowing = () => {
|
||||||
window = document.body.appendChild(document.createElement('mk-user-following-window'));
|
riot.mount(document.body.appendChild(document.createElement('mk-user-following-window')), {
|
||||||
riot.mount window, do
|
|
||||||
user: this.user
|
user: this.user
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
this.show-followers = () => {
|
this.showFollowers = () => {
|
||||||
window = document.body.appendChild(document.createElement('mk-user-followers-window'));
|
riot.mount(document.body.appendChild(document.createElement('mk-user-followers-window')), {
|
||||||
riot.mount window, do
|
|
||||||
user: this.user
|
user: this.user
|
||||||
|
});
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
</mk-user-profile>
|
</mk-user-profile>
|
||||||
|
|
Loading…
Reference in New Issue