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 ++ create-allow-history
|= synced=(map path ship) |= synced=(map path ship)
^- (map path ?) ^- (map path ?)
(~(run by synced) |=(shp=ship %.n)) (~(run by synced) |=(* %.n))
-- --
:: ::
++ poke-json ++ poke-json

View File

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