OLD | NEW |
| (Empty) |
1 #library('Suites.dart'); | |
2 | |
3 class Origin { | |
4 final String author; | |
5 final String url; | |
6 | |
7 const Origin(this.author, this.url); | |
8 } | |
9 | |
10 class SuiteDescription { | |
11 final String file; | |
12 final String name; | |
13 final Origin origin; | |
14 final String description; | |
15 | |
16 const SuiteDescription(this.file, this.name, this.origin, this.description); | |
17 } | |
18 | |
19 class Suites { | |
20 static final JOHN_RESIG = const Origin('John Resig', 'http://ejohn.org/'); | |
21 | |
22 static final SUITE_DESCRIPTIONS = const [ | |
23 const SuiteDescription( | |
24 'dom-attr.html', | |
25 'DOM Attributes', | |
26 JOHN_RESIG, | |
27 'Setting and getting DOM node attributes'), | |
28 const SuiteDescription( | |
29 'dom-modify.html', | |
30 'DOM Modification', | |
31 JOHN_RESIG, | |
32 'Creating and injecting DOM nodes into a document'), | |
33 const SuiteDescription( | |
34 'dom-query.html', | |
35 'DOM Query', | |
36 JOHN_RESIG, | |
37 'Querying DOM elements in a document'), | |
38 const SuiteDescription( | |
39 'dom-traverse.html', | |
40 'DOM Traversal', | |
41 JOHN_RESIG, | |
42 'Traversing a DOM structure') | |
43 ]; | |
44 } | |
OLD | NEW |