|
1 | 1 | include _util-fns |
2 | | -// From ts/glossary.jade, the folder ts/latest/_fragments is generated which contains a bunch of partial files. |
3 | | -// These partials comprise the glossary,a subset of these partials should be used to generate the glossary for |
4 | | -// __dart__ under BASICS. |
5 | | -!=partial('../../ts/latest/_fragments/glossary-intro') |
6 | | -!=partial('../../ts/latest/_fragments/glossary-a-2') |
7 | | -!=partial('../../ts/latest/_fragments/glossary-b-c') |
8 | | -!=partial('../../ts/latest/_fragments/glossary-d1') |
9 | | -!=partial('../../ts/latest/_fragments/glossary-d2') |
10 | | -!=partial('../../ts/latest/_fragments/glossary-e1') |
11 | | -!=partial('../../ts/latest/_fragments/glossary-e2') |
12 | | -!=partial('../../ts/latest/_fragments/glossary-f-l') |
13 | | -!=partial('../../ts/latest/_fragments/glossary-m1') |
14 | | -//!=partial('../../ts/latest/_fragments/glossary-m2') not needed in dart |
15 | | -!=partial('../../ts/latest/_fragments/glossary-n-s-1') |
| 2 | + |
| 3 | +block var-def |
| 4 | + - var fragPath='../../ts/latest/_fragments/'; |
| 5 | + |
| 6 | +!=partial(fragPath + 'glossary-intro') |
| 7 | +!=partial(fragPath + 'glossary-a1') |
| 8 | +!=partial(fragPath + 'glossary-a-2') |
| 9 | +!=partial(fragPath + 'glossary-b-c') |
| 10 | +!=partial(fragPath + 'glossary-d1') |
| 11 | +!=partial(fragPath + 'glossary-d2') |
| 12 | +!=partial(fragPath + 'glossary-e1') |
| 13 | +!=partial(fragPath + 'glossary-e2') |
| 14 | +!=partial(fragPath + 'glossary-f-l') |
| 15 | +!=partial(fragPath + 'glossary-m1') |
| 16 | +//partial(fragPath + 'glossary-m2') not needed in dart |
| 17 | +!=partial(fragPath + 'glossary-n-s-1') |
16 | 18 |
|
17 | 19 | :marked |
18 | 20 | ## snake_case |
| 21 | + |
19 | 22 | .l-sub-section |
20 | 23 | :marked |
21 | | - The practice of writing compound words or phrases such that each word is separated by an underscore (`_`). |
| 24 | + The practice of writing compound words or phrases such that each word is separated by an |
| 25 | + underscore (`_`). |
22 | 26 |
|
23 | | - Library and file names are often spelled in snake_case. Examples include: `angular2_tour_of_heroes` and `app_component.dart`. |
| 27 | + Library and file names are often spelled in snake_case. Examples include: |
| 28 | + `angular2_tour_of_heroes` and `app_component.dart`. |
24 | 29 |
|
25 | 30 | This form is also known as **underscore case**. |
26 | 31 |
|
27 | | -!=partial('../../ts/latest/_fragments/glossary-n-s-2') |
28 | | -!=partial('../../ts/latest/_fragments/glossary-t1') |
29 | | -//!=partial('../../ts/latest/_fragments/glossary-t2') notneeded in dart |
30 | | -!=partial('../../ts/latest/_fragments/glossary-u-z') |
31 | | - |
32 | | -// NOTE: (ericjim): I am almost certain these lines are doing nothing, |
33 | | -// so instead I use `!=partial` to include the glossary fragments. |
34 | | -//+includeShared('{ts}', 'intro') |
35 | | -//+includeShared('{ts}', 'a2') |
36 | | -//+includeShared('{ts}', 'b-c') |
37 | | -//+includeShared('{ts}', 'd1') |
38 | | -//+includeShared('{ts}', 'd2') |
39 | | -//+includeShared('{ts}', 'e1') |
40 | | -//+includeShared('{ts}', 'e2') |
41 | | -//+includeShared('{ts}', 'f-l') |
42 | | -//+includeShared('{ts}', 'm1') |
43 | | -//+includeShared('{ts}', 'n-s') |
44 | | -//+includeShared('{ts}', 't1') |
45 | | -//+includeShared('{ts}', 'u-z') |
| 32 | +!=partial(fragPath + 'glossary-n-s-2') |
| 33 | +!=partial(fragPath + 'glossary-t1') |
| 34 | +//partial(fragPath + 'glossary-t2') notneeded in dart |
| 35 | +!=partial(fragPath + 'glossary-u-z') |
0 commit comments