@@ -14,6 +14,47 @@ fn main() {
14
14
launch ( app) ;
15
15
}
16
16
17
+
18
+
19
+ static ADJECTIVES : & [ & str ] = & [
20
+ "pretty" ,
21
+ "large" ,
22
+ "big" ,
23
+ "small" ,
24
+ "tall" ,
25
+ "short" ,
26
+ "long" ,
27
+ "handsome" ,
28
+ "plain" ,
29
+ "quaint" ,
30
+ "clean" ,
31
+ "elegant" ,
32
+ "easy" ,
33
+ "angry" ,
34
+ "crazy" ,
35
+ "helpful" ,
36
+ "mushy" ,
37
+ "odd" ,
38
+ "unsightly" ,
39
+ "adorable" ,
40
+ "important" ,
41
+ "inexpensive" ,
42
+ "cheap" ,
43
+ "expensive" ,
44
+ "fancy" ,
45
+ ] ;
46
+
47
+ static COLOURS : & [ & str ] = & [
48
+ "red" , "yellow" , "blue" , "green" , "pink" , "brown" , "purple" , "brown" , "white" , "black" ,
49
+ "orange" ,
50
+ ] ;
51
+
52
+ static NOUNS : & [ & str ] = & [
53
+ "table" , "chair" , "house" , "bbq" , "desk" , "car" , "pony" , "cookie" , "sandwich" , "burger" ,
54
+ "pizza" , "mouse" , "keyboard" ,
55
+ ] ;
56
+
57
+
17
58
#[ derive( PartialEq , Clone , Props ) ]
18
59
struct RowData {
19
60
id : usize ,
@@ -168,42 +209,4 @@ fn ActionButton(name: String, id: String, onclick: EventHandler) -> Element {
168
209
}
169
210
}
170
211
}
171
- }
172
-
173
- static ADJECTIVES : & [ & str ] = & [
174
- "pretty" ,
175
- "large" ,
176
- "big" ,
177
- "small" ,
178
- "tall" ,
179
- "short" ,
180
- "long" ,
181
- "handsome" ,
182
- "plain" ,
183
- "quaint" ,
184
- "clean" ,
185
- "elegant" ,
186
- "easy" ,
187
- "angry" ,
188
- "crazy" ,
189
- "helpful" ,
190
- "mushy" ,
191
- "odd" ,
192
- "unsightly" ,
193
- "adorable" ,
194
- "important" ,
195
- "inexpensive" ,
196
- "cheap" ,
197
- "expensive" ,
198
- "fancy" ,
199
- ] ;
200
-
201
- static COLOURS : & [ & str ] = & [
202
- "red" , "yellow" , "blue" , "green" , "pink" , "brown" , "purple" , "brown" , "white" , "black" ,
203
- "orange" ,
204
- ] ;
205
-
206
- static NOUNS : & [ & str ] = & [
207
- "table" , "chair" , "house" , "bbq" , "desk" , "car" , "pony" , "cookie" , "sandwich" , "burger" ,
208
- "pizza" , "mouse" , "keyboard" ,
209
- ] ;
212
+ }
0 commit comments