Further renaming "reader" to "client".

This commit is contained in:
Fang 2017-11-16 16:36:34 +01:00
parent 27d3867951
commit 7739bfb855
4 changed files with 14 additions and 14 deletions

View File

@ -119,8 +119,8 @@
::> models relating to queries, their results and updates.
::+|
::
++ pire ::> prize-reader
|= a/prize-reader
++ pici ::> prize-client
|= a/prize-client
^- json
%- pairs :~
:- %gys
@ -130,8 +130,8 @@
nis+(mo nis.a (cury scot %p) cord)
==
::
++ rure ::> rumor-reader
|= a/rumor-reader
++ ruci ::> rumor-client
|= a/rumor-client
^- json
%+ frond -.a
?- -.a
@ -388,15 +388,15 @@
::> models relating to queries, their results and updates.
::+|
::
++ pire ::> prize-reader
^- $-(json (unit prize-reader))
++ pici ::> prize-client
^- $-(json (unit prize-client))
%- ot :~
gys+(om (as (as circ)))
nis+(op fed:ag so)
==
::
++ rure ::> rumor-reader
^- $-(json (unit rumor-reader))
++ ruci ::> rumor-client
^- $-(json (unit rumor-client))
%- of :~
glyph+digy
nick+dini

View File

@ -15,7 +15,7 @@
|= a/json
^- prize:hall
=- (need ((of -) a))
:~ reader+pire
:~ client+pici
public+(as circ)
:: burden not needed
:: report not needed
@ -30,7 +30,7 @@
=, enjs:format
%+ frond -.piz
?+ -.piz !!
$reader (pire +.piz)
$client (pici +.piz)
$public (sa cis.piz circ)
:: burden not needed
:: report not needed

View File

@ -15,7 +15,7 @@
|= a/json
^- rumor:hall
=- (need ((of -) a))
:~ reader+rure
:~ client+ruci
public+(ot add+bo cir+circ ~)
:: burden not needed
circle+ruso
@ -29,7 +29,7 @@
=, enjs:format
%+ frond -.rum
?+ -.rum !!
$reader (rure rum.rum)
$client (ruci rum.rum)
$public (pairs add+b+add.rum cir+(circ cir.rum) ~)
:: burden not needed
$circle (ruso rum.rum)

View File

@ -1688,14 +1688,14 @@ module.exports = function(arg) {
listen: function() {
var date;
date = window.urb.util.toDate(new Date());
return window.urb.bind('/reader', function(err, res) {
return window.urb.bind('/client', function(err, res) {
var gys, nis, ref;
if (err || !res.data) {
console.log('sp err');
console.log(err);
return;
}
ref = res.data.reader, gys = ref.gys, nis = ref.nis;
ref = res.data.client, gys = ref.gys, nis = ref.nis;
return StationActions.loadGlyphs(gys);
});
},