mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-03 12:42:48 +03:00
chat: style fixes
This commit is contained in:
parent
223fc8c5b4
commit
f9df1b6af4
@ -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
|
||||
|
@ -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 : {
|
||||
|
Loading…
Reference in New Issue
Block a user