chat: style fixes

This commit is contained in:
Logan Allen 2019-11-15 11:07:40 -08:00
parent 223fc8c5b4
commit f9df1b6af4
2 changed files with 17 additions and 17 deletions

View File

@ -88,7 +88,7 @@
++ create-allow-history
|= synced=(map path ship)
^- (map path ?)
(~(run by synced) |=(shp=ship %.n))
(~(run by synced) |=(* %.n))
--
::
++ poke-json

View File

@ -25,22 +25,22 @@ export class ChatInput extends Component {
this.messageChange = this.messageChange.bind(this);
// perf testing:
//let closure = () => {
// let x = 0;
// for (var i = 0; i < 30; i++) {
// x++;
// props.api.chat.message(
// props.station,
// `~${window.ship}`,
// Date.now(),
// {
// text: `${x}`
// }
// );
// }
// setTimeout(closure, 1000);
//};
//this.closure = closure.bind(this);
/*let closure = () => {
let x = 0;
for (var i = 0; i < 30; i++) {
x++;
props.api.chat.message(
props.station,
`~${window.ship}`,
Date.now(),
{
text: `${x}`
}
);
}
setTimeout(closure, 1000);
};
this.closure = closure.bind(this);*/
moment.updateLocale('en', {
relativeTime : {