Skip to content
Snippets Groups Projects
Commit d8d4c4d2 authored by こぴなたみぽ's avatar こぴなたみぽ
Browse files

wip

parent 853b846c
No related branches found
No related tags found
No related merge requests found
Showing
with 25 additions and 25 deletions
......@@ -105,7 +105,7 @@
font-size 16px
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.session = this.opts.session;
......
......@@ -83,7 +83,7 @@
margin 0 auto
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');
......
......@@ -53,7 +53,7 @@
max-width 500px
</style>
<script>
<script lang="typescript">
import Progress from '../../common/scripts/loading';
import ChannelStream from '../../common/scripts/streaming/channel-stream';
......@@ -228,7 +228,7 @@
vertical-align bottom
</style>
<script>
<script lang="typescript">
this.post = this.opts.post;
this.form = this.opts.form;
......@@ -282,7 +282,7 @@
display none
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.channel = this.opts.channel;
......@@ -375,7 +375,7 @@
<mk-twitter-button>
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-show-count="false">Tweet</a>
<script>
<script lang="typescript">
this.on('mount', () => {
const head = document.getElementsByTagName('head')[0];
const script = document.createElement('script');
......@@ -388,7 +388,7 @@
<mk-line-button>
<div class="line-it-button" data-lang="ja" data-type="share-a" data-url={ _CH_URL_ } style="display: none;"></div>
<script>
<script lang="typescript">
this.on('mount', () => {
const head = document.getElementsByTagName('head')[0];
const script = document.createElement('script');
......
......@@ -14,7 +14,7 @@
margin-left auto
</style>
<script>
<script lang="typescript">
this.mixin('i');
</script>
</mk-header>
......@@ -11,7 +11,7 @@
display block
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.on('mount', () => {
......
......@@ -25,7 +25,7 @@
transform-origin center
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.user = this.opts.user;
......
......@@ -18,7 +18,7 @@
border-bottom solid 1px #eee
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.apps = [];
......
......@@ -75,7 +75,7 @@
height 150px
</style>
<script>
<script lang="typescript">
this.troubleshooting = false;
this.on('mount', () => {
......@@ -169,7 +169,7 @@
color #ad4339
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
this.update({
network: navigator.onLine
......
......@@ -4,7 +4,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.kind = this.opts.type.split('/')[0];
</script>
</mk-file-type-icon>
......@@ -116,7 +116,7 @@
display none
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.onpaste = e => {
......
......@@ -329,7 +329,7 @@
margin 0 12px 0 0
</style>
<script>
<script lang="typescript">
this.mixin('i');
this.mixin('api');
......
......@@ -205,7 +205,7 @@
opacity 0.5
</style>
<script>
<script lang="typescript">
import compile from '../../../common/scripts/text-compiler';
this.mixin('i');
......
......@@ -161,7 +161,7 @@
//background rgba(0, 0, 0, 0.2)
</style>
<script>
<script lang="typescript">
import MessagingStreamConnection from '../../scripts/streaming/messaging-stream';
this.mixin('i');
......
......@@ -4,7 +4,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.aboutUrl = `${_DOCS_URL_}/${_LANG_}/about`;
</script>
</mk-nav-links>
......@@ -3,7 +3,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.on('mount', () => {
let value = this.opts.value;
const max = this.opts.max;
......
......@@ -85,7 +85,7 @@
color darken($theme-color, 30%)
</style>
<script>
<script lang="typescript">
this.choices = ['', ''];
this.oninput = (i, e) => {
......
......@@ -67,7 +67,7 @@
background transparent
</style>
<script>
<script lang="typescript">
this.mixin('api');
this.init = post => {
......
......@@ -74,7 +74,7 @@
display block
</style>
<script>
<script lang="typescript">
import anime from 'animejs';
this.mixin('i');
......
......@@ -3,7 +3,7 @@
:scope
display inline
</style>
<script>
<script lang="typescript">
this.root.innerHTML = this.opts.content;
this.on('updated', () => {
......
......@@ -18,7 +18,7 @@
</div>
</template>
<script>
<script lang="typescript">
import anime from 'animejs';
import api from '../scripts/api';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment