diff --git a/pkg/arvo/app/chat-hook.hoon b/pkg/arvo/app/chat-hook.hoon index fe4180b68f..5abe2337cb 100644 --- a/pkg/arvo/app/chat-hook.hoon +++ b/pkg/arvo/app/chat-hook.hoon @@ -77,7 +77,7 @@ ?+ -.sign (on-agent:def wire sign) %watch-ack =^ cards state - (watch-ack:cc wire p.sign) + (watch-ack:cc wire p.sign) [cards this] :: %kick diff --git a/pkg/arvo/app/chat-view.hoon b/pkg/arvo/app/chat-view.hoon index 51a980dcae..3698e484e9 100644 --- a/pkg/arvo/app/chat-view.hoon +++ b/pkg/arvo/app/chat-view.hoon @@ -137,7 +137,7 @@ == == :: - ++ on-arvo + ++ on-arvo |= [=wire =sign-arvo] ^- (quip card _this) ?. ?=(%bound +<.sign-arvo) @@ -176,7 +176,7 @@ =/ pax t.t.t.t.site.url =/ envelopes (envelope-scry [(scot %ud start) (scot %ud end) pax]) %- json-response:gen - %- json-to-octs + %- json-to-octs %- update-to-json [%messages pax start end envelopes] :: diff --git a/pkg/arvo/app/chat/index.html b/pkg/arvo/app/chat/index.html index 97cb95e93e..37a78c767c 100644 --- a/pkg/arvo/app/chat/index.html +++ b/pkg/arvo/app/chat/index.html @@ -12,12 +12,12 @@ diff --git a/pkg/arvo/app/dojo.hoon b/pkg/arvo/app/dojo.hoon index 1dc3f528dc..fa34f7cce0 100644 --- a/pkg/arvo/app/dojo.hoon +++ b/pkg/arvo/app/dojo.hoon @@ -538,7 +538,7 @@ $poke %- he-card(poy ~) :* %pass - /poke + /poke %agent p.p.mad %poke @@ -1141,11 +1141,11 @@ :: If couldn't search (eg cursor not in appropriate position), do :: nothing. :: - ?: ?=(~ tl) + ?: ?=(~ tl) res :: If no options, ring the bell :: - ?: =([~ ~] tl) + ?: =([~ ~] tl) (he-diff %bel ~) :: If only one option, don't print unless the option is already :: typed in. diff --git a/pkg/arvo/app/group-store.hoon b/pkg/arvo/app/group-store.hoon index 6dd15cf781..16feb79879 100644 --- a/pkg/arvo/app/group-store.hoon +++ b/pkg/arvo/app/group-store.hoon @@ -1,4 +1,4 @@ -:: group-store: data store for groups of ships +:: group-store: data store for groups of ships :: /- *group-store /+ default-agent @@ -27,7 +27,7 @@ |_ =bowl:gall +* this . group-core +> - gc ~(. group-core bowl) + gc ~(. group-core bowl) def ~(. (default-agent this %|) bowl) :: ++ on-init on-init:def @@ -75,9 +75,9 @@ [%x *] ``noun+!>((~(get by groups) t.path)) == :: - ++ on-agent on-agent:def - ++ on-arvo on-arvo:def - ++ on-fail on-fail:def + ++ on-agent on-agent:def + ++ on-arvo on-arvo:def + ++ on-fail on-fail:def -- :: |_ bol=bowl:gall diff --git a/pkg/arvo/app/lens.hoon b/pkg/arvo/app/lens.hoon index 6aa2f6f664..45d9b81a1a 100644 --- a/pkg/arvo/app/lens.hoon +++ b/pkg/arvo/app/lens.hoon @@ -83,7 +83,7 @@ %+ give-simple-payload:app eyre-id.u.job.state [[200 ~] `(as-octt:mimes:html "\"Imported data\"")] :: - [%export ~] + [%export ~] ?+ -.sign (on-agent:def wire sign) %watch-ack ?~ p.sign diff --git a/pkg/arvo/app/publish.hoon b/pkg/arvo/app/publish.hoon index 51369cc426..d29ffe5bee 100644 --- a/pkg/arvo/app/publish.hoon +++ b/pkg/arvo/app/publish.hoon @@ -243,7 +243,7 @@ ++ write-file =, space:userlib |= [pax=path cay=cage] - ^- card + ^- card =. pax (weld our-beak pax) [%pass (weld /write-file pax) %arvo %c %info (foal pax cay)] :: diff --git a/pkg/arvo/app/weather.hoon b/pkg/arvo/app/weather.hoon index 75fbcf8c0b..c896a74fc1 100644 --- a/pkg/arvo/app/weather.hoon +++ b/pkg/arvo/app/weather.hoon @@ -101,7 +101,7 @@ =/ lismov [%pass /[(scot %da now.bol)] %arvo %i %request req out]~ ?~ timer :- [[%pass /timer %arvo %b %wait (add now.bol ~h3)] lismov] - %= state + %= state location str timer `(add now.bol ~h3) == diff --git a/pkg/arvo/lib/hood/kiln.hoon b/pkg/arvo/lib/hood/kiln.hoon index c51f271e40..5ffe8231af 100644 --- a/pkg/arvo/lib/hood/kiln.hoon +++ b/pkg/arvo/lib/hood/kiln.hoon @@ -312,11 +312,11 @@ ++ take-agent |= [=wire =sign:agent:gall] ?+ wire ~|([%kiln-bad-take-agent wire -.sign] !!) - [%kiln %fancy *] ?> ?=(%poke-ack -.sign) + [%kiln %fancy *] ?> ?=(%poke-ack -.sign) (take-coup-fancy t.t.wire p.sign) [%kiln %reload *] ?> ?=(%poke-ack -.sign) (take-coup-reload t.t.wire p.sign) - [%kiln %spam *] ?> ?=(%poke-ack -.sign) + [%kiln %spam *] ?> ?=(%poke-ack -.sign) (take-coup-spam t.t.wire p.sign) == :: diff --git a/pkg/arvo/lib/language-server/rune-snippet.hoon b/pkg/arvo/lib/language-server/rune-snippet.hoon index d15a883328..c7664faa97 100644 --- a/pkg/arvo/lib/language-server/rune-snippet.hoon +++ b/pkg/arvo/lib/language-server/rune-snippet.hoon @@ -117,7 +117,7 @@ :- "%_" """ $\{1:target} - $\{2:wing} $\{3:new-value} + $\{2:wing} $\{3:new-value} == """ :- "%." @@ -139,7 +139,7 @@ :- "%*" """ $\{1:target-wing} $\{2:from} - $\{3:wing} $\{4:new-value} + $\{3:wing} $\{4:new-value} == """ :- "%^" @@ -164,7 +164,7 @@ :- "%=" """ $\{1:target} - $\{2:wing} $\{3:new-value} + $\{2:wing} $\{3:new-value} == """ :: @@ -422,7 +422,7 @@ :- "?-" """ $\{1:case} - $\{2:type} $\{3:value} + $\{2:type} $\{3:value} == """ :- "?:" @@ -455,8 +455,8 @@ """ :- "?+" """ - $\{1:case} $\{2:else} - $\{3:type} $\{4:value} + $\{1:case} $\{2:else} + $\{3:type} $\{4:value} == """ :- "?&" diff --git a/pkg/arvo/lib/soto.hoon b/pkg/arvo/lib/soto.hoon index 5195a516b6..ef39e79ced 100644 --- a/pkg/arvo/lib/soto.hoon +++ b/pkg/arvo/lib/soto.hoon @@ -83,7 +83,7 @@ ++ wush |= [wid=@u tan=tang] ^- tape - %- of-wall:format + %- of-wall:format %+ turn (flop tan) |= =tank ~! wid diff --git a/pkg/arvo/mar/chat/action.hoon b/pkg/arvo/mar/chat/action.hoon index 74cbd5cbf6..7d1b7a9852 100644 --- a/pkg/arvo/mar/chat/action.hoon +++ b/pkg/arvo/mar/chat/action.hoon @@ -4,7 +4,7 @@ ++ grab |% ++ noun chat-action - ++ json + ++ json |= jon=^json (json-to-action jon) -- diff --git a/pkg/arvo/mar/chat/hook-action.hoon b/pkg/arvo/mar/chat/hook-action.hoon index 6ae4d43747..73d36fff35 100644 --- a/pkg/arvo/mar/chat/hook-action.hoon +++ b/pkg/arvo/mar/chat/hook-action.hoon @@ -19,7 +19,7 @@ ++ add-owned %- ot :~ [%path pa] - [%security sec] + [%security sec] [%allow-history bo] == :: diff --git a/pkg/arvo/mar/chat/view-action.hoon b/pkg/arvo/mar/chat/view-action.hoon index 3bba211cbd..a87889eda5 100644 --- a/pkg/arvo/mar/chat/view-action.hoon +++ b/pkg/arvo/mar/chat/view-action.hoon @@ -4,7 +4,7 @@ ++ grab |% ++ noun chat-view-action - ++ json + ++ json |= jon=^json (json-to-view-action jon) -- diff --git a/pkg/arvo/mar/invite/action.hoon b/pkg/arvo/mar/invite/action.hoon index 3f8ebc811a..5265671c21 100644 --- a/pkg/arvo/mar/invite/action.hoon +++ b/pkg/arvo/mar/invite/action.hoon @@ -4,7 +4,7 @@ ++ grab |% ++ noun invite-action - ++ json + ++ json |= jon=^json (json-to-action jon) -- diff --git a/pkg/arvo/mar/permission/action.hoon b/pkg/arvo/mar/permission/action.hoon index 869246e0d1..f316b3d71b 100644 --- a/pkg/arvo/mar/permission/action.hoon +++ b/pkg/arvo/mar/permission/action.hoon @@ -4,7 +4,7 @@ ++ grab |% ++ noun permission-action - ++ json + ++ json |= jon=^json =< (parse-permission-action jon) |% diff --git a/pkg/arvo/mar/permission/group-hook-action.hoon b/pkg/arvo/mar/permission/group-hook-action.hoon index efe9d31461..e80a0e38fe 100644 --- a/pkg/arvo/mar/permission/group-hook-action.hoon +++ b/pkg/arvo/mar/permission/group-hook-action.hoon @@ -4,7 +4,7 @@ ++ grab |% ++ noun permission-group-hook-action - ++ json + ++ json |= jon=^json (json-to-perm-group-hook-action jon) -- diff --git a/pkg/arvo/mar/publish/comment.hoon b/pkg/arvo/mar/publish/comment.hoon index 7a7d4ac711..15a809ba62 100644 --- a/pkg/arvo/mar/publish/comment.hoon +++ b/pkg/arvo/mar/publish/comment.hoon @@ -43,10 +43,10 @@ :* %+ rash creator.txs ;~(pfix (jest 'creator: ~') fed:ag) :: - %+ rash collection.txs + %+ rash collection.txs ;~(pfix (jest 'collection: ') (cook crip (star next))) :: - %+ rash post.txs + %+ rash post.txs ;~(pfix (jest 'post: ') (cook crip (star next))) :: %+ rash date-created.txs diff --git a/pkg/arvo/mar/publish/info.hoon b/pkg/arvo/mar/publish/info.hoon index c499b3928a..3cd60d0743 100644 --- a/pkg/arvo/mar/publish/info.hoon +++ b/pkg/arvo/mar/publish/info.hoon @@ -46,10 +46,10 @@ :* %+ rash owner.txs ;~(pfix (jest 'owner: ~') fed:ag) :: - %+ rash title.txs + %+ rash title.txs ;~(pfix (jest 'title: ') (cook crip (star next))) :: - %+ rash filename.txs + %+ rash filename.txs ;~(pfix (jest 'filename: ') (cook crip (star next))) :: %+ rash comments.txs diff --git a/pkg/arvo/mar/publish/rumor.hoon b/pkg/arvo/mar/publish/rumor.hoon index 07687aee8c..895368f202 100644 --- a/pkg/arvo/mar/publish/rumor.hoon +++ b/pkg/arvo/mar/publish/rumor.hoon @@ -13,14 +13,14 @@ %+ frond -.rum ?- -.rum %collection - %- pairs + %- pairs :~ [%coll s+col.rum] [%who (ship who.rum)] [%data (collection-build-to-json dat.rum)] == :: %post - %- pairs + %- pairs :~ [%coll s+col.rum] [%post s+pos.rum] [%who (ship who.rum)] @@ -28,7 +28,7 @@ == :: %comments - %- pairs + %- pairs :~ [%coll s+col.rum] [%post s+pos.rum] [%who (ship who.rum)] diff --git a/pkg/arvo/ren/publish/comments.hoon b/pkg/arvo/ren/publish/comments.hoon index 132ddf7151..a793df78cd 100644 --- a/pkg/arvo/ren/publish/comments.hoon +++ b/pkg/arvo/ren/publish/comments.hoon @@ -2,7 +2,7 @@ /+ publish /= result /^ (list comment:publish) - /; + /; |= comments=(map knot comment:publish) ^- (list [comment-info:publish @t]) %+ sort ~(val by comments) diff --git a/pkg/arvo/ren/publish/post.hoon b/pkg/arvo/ren/publish/post.hoon index 6ef6e4cc34..717facddc4 100644 --- a/pkg/arvo/ren/publish/post.hoon +++ b/pkg/arvo/ren/publish/post.hoon @@ -3,7 +3,7 @@ /= args /$ ,[beam *] /= result /^ [post-info:publish manx @t] - /; + /; |= $: post-front=(map knot cord) post-content=manx post-raw=wain diff --git a/pkg/arvo/sur/group-hook.hoon b/pkg/arvo/sur/group-hook.hoon index c224fd2b3c..be880b3cea 100644 --- a/pkg/arvo/sur/group-hook.hoon +++ b/pkg/arvo/sur/group-hook.hoon @@ -5,7 +5,7 @@ :: if ship is foreign, delete any local :: group at that path and mirror the :: foreign group at our local path - :: + :: [%remove =path] :: remove the path. == -- diff --git a/pkg/arvo/sys/vane/eyre.hoon b/pkg/arvo/sys/vane/eyre.hoon index 52b09a3bf2..709122af73 100644 --- a/pkg/arvo/sys/vane/eyre.hoon +++ b/pkg/arvo/sys/vane/eyre.hoon @@ -637,7 +637,7 @@ this.outstandingSubscriptions.set( id, { - err: connectionErrFunc, + err: connectionErrFunc, event: eventFunc, quit: quitFunc } diff --git a/pkg/arvo/tests/sys/hoon/list.hoon b/pkg/arvo/tests/sys/hoon/list.hoon index b85cf511be..cdff49dafb 100644 --- a/pkg/arvo/tests/sys/hoon/list.hoon +++ b/pkg/arvo/tests/sys/hoon/list.hoon @@ -141,8 +141,8 @@ ++ test-list-murn %+ expect-eq !> ~[6 10] - !> %+ murn `(list @)`~[2 3 4 5] - |= [x=@] + !> %+ murn `(list @)`~[2 3 4 5] + |= [x=@] ^- (unit) ?: =((mod x 2) 0) ~ (some (mul x 2)) diff --git a/pkg/arvo/tests/sys/vane/eyre.hoon b/pkg/arvo/tests/sys/vane/eyre.hoon index cf86182049..70d7fb809c 100644 --- a/pkg/arvo/tests/sys/vane/eyre.hoon +++ b/pkg/arvo/tests/sys/vane/eyre.hoon @@ -308,7 +308,7 @@ :~ :* duct=~[/http-blah] %give %response [%start [200 ['content-type' 'text/html']~] ~ %.n] == == == - + ;: weld results1 results2 diff --git a/pkg/interface/chat/gulpfile.js b/pkg/interface/chat/gulpfile.js index 08ae6f40c7..ba110acb72 100644 --- a/pkg/interface/chat/gulpfile.js +++ b/pkg/interface/chat/gulpfile.js @@ -144,7 +144,7 @@ gulp.task('urbit-copy', function () { gulp.task('js-bundle-dev', gulp.series('jsx-transform', 'js-imports')); gulp.task('tile-js-bundle-dev', gulp.series('tile-jsx-transform', 'tile-js-imports')); gulp.task('js-bundle-prod', gulp.series('jsx-transform', 'js-imports', 'js-minify')) -gulp.task('tile-js-bundle-prod', +gulp.task('tile-js-bundle-prod', gulp.series('tile-jsx-transform', 'tile-js-imports', 'tile-js-minify')); gulp.task('bundle-dev', diff --git a/pkg/interface/chat/src/js/api.js b/pkg/interface/chat/src/js/api.js index e690e5da20..8284fe9a03 100644 --- a/pkg/interface/chat/src/js/api.js +++ b/pkg/interface/chat/src/js/api.js @@ -14,7 +14,7 @@ class UrbitApi { add: this.groupAdd.bind(this), remove: this.groupRemove.bind(this) }; - + this.chat = { message: this.chatMessage.bind(this), read: this.chatRead.bind(this) @@ -25,7 +25,7 @@ class UrbitApi { delete: this.chatViewDelete.bind(this), join: this.chatViewJoin.bind(this), }; - + this.invite = { accept: this.inviteAccept.bind(this), decline: this.inviteDecline.bind(this), @@ -36,7 +36,7 @@ class UrbitApi { bind(path, method, ship = this.authTokens.ship, app, success, fail, quit) { this.bindPaths = _.uniq([...this.bindPaths, path]); - window.subscriptionId = window.urb.subscribe(ship, app, path, + window.subscriptionId = window.urb.subscribe(ship, app, path, (err) => { fail(err); }, @@ -59,7 +59,7 @@ class UrbitApi { window.urb.poke(ship, appl, mark, data, (json) => { resolve(json); - }, + }, (err) => { reject(err); }); @@ -142,7 +142,7 @@ class UrbitApi { } chatViewJoin(ship, path, askHistory) { - this.chatViewAction({ + this.chatViewAction({ join: { ship, path, 'ask-history': askHistory @@ -153,9 +153,9 @@ class UrbitApi { inviteAction(data) { this.action("invite-store", "json", data); } - + inviteInvite(path, ship) { - this.action("invite-hook", "json", + this.action("invite-hook", "json", { invite: { path: '/chat', @@ -180,7 +180,7 @@ class UrbitApi { } }); } - + inviteDecline(uid) { this.inviteAction({ decline: { diff --git a/pkg/interface/chat/src/js/components/lib/chat-input.js b/pkg/interface/chat/src/js/components/lib/chat-input.js index abcb79f7db..a0c7370251 100644 --- a/pkg/interface/chat/src/js/components/lib/chat-input.js +++ b/pkg/interface/chat/src/js/components/lib/chat-input.js @@ -64,7 +64,7 @@ export class ChatInput extends Component { } }); } - + bindShortcuts() { Mousetrap(this.textareaRef.current).bind('enter', e => { e.preventDefault(); @@ -173,7 +173,7 @@ export class ChatInput extends Component { const { props, state } = this; this.bindShortcuts(); - + return (
@@ -70,7 +70,7 @@ export class Message extends Component { && (chatroom[0] === letter.text))) { // entire message is room name? return ( {letter.text} @@ -108,9 +108,9 @@ export class Message extends Component {