Skip to content

Commit cef3af1

Browse files
committed
Reformat after changes to unquote_str in moor
1 parent d141d0a commit cef3af1

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/player.moo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ object PLAYER
6969
try
7070
transformed = event:transform_for(connection_obj, content_type);
7171
except e (ANY)
72-
transformed = "FAILED EVENT: " + toliteral(event) + "
73-
" + toliteral(e);
72+
transformed = "FAILED EVENT: " + toliteral(event) + "\n " + toliteral(e);
7473
endtry
7574
"Iterate the transformed values and have it turn into its output form. Strings output as strings, while HTML trees are transformed, etc.";
7675
output = {};

src/str_proto.moo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ object STR_PROTO
55
owner: HACKER
66
readable: true
77

8-
property _character_set (owner: HACKER, flags: "rc") = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
8+
property _character_set (owner: HACKER, flags: "rc") = "\t !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
99
property _character_set_in_ascii (owner: HACKER, flags: "rc") = {
1010
8,
1111
32,
@@ -205,7 +205,7 @@ object STR_PROTO
205205
property alphabet (owner: HACKER, flags: "rc") = "abcdefghijklmnopqrstuvwxyz";
206206
property ascii (owner: HACKER, flags: "rc") = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
207207
property digits (owner: HACKER, flags: "rc") = "0123456789";
208-
property tab (owner: HACKER, flags: "rc") = " ";
208+
property tab (owner: HACKER, flags: "rc") = "\t";
209209

210210
verb "capitalize capitalise" (this none this) owner: HACKER flags: "rxd"
211211
"Capitalizes its argument.";

src/wiz.moo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ object WIZ
4040
after_cnt = db_counters();
4141
cnt_summary = this:counter_summary(before_cnt, after_cnt);
4242
for value, key in (cnt_summary)
43-
player:tell(tostr(key) + " => " + tostr(value[1]) + "μs mean " + tostr(value[2] / 1000.0) + "ms total");
43+
player:tell(tostr(key) + " => " + tostr(value[1]) + "\u03BCs mean " + tostr(value[2] / 1000.0) + "ms total");
4444
endfor
4545
player:tell("Took " + tostr(end - start) + "s to write " + tostr(length(this.test)) + " tuples in property in 100 transactions");
4646
this.test = {};

0 commit comments

Comments
 (0)