| Index: client/html/src/NodeWrappingImplementation.dart
|
| ===================================================================
|
| --- client/html/src/NodeWrappingImplementation.dart (revision 3161)
|
| +++ client/html/src/NodeWrappingImplementation.dart (working copy)
|
| @@ -25,6 +25,14 @@
|
|
|
| void forEach(void f(Node element)) => _toList().forEach(f);
|
|
|
| + Collection map(f(Node element)) {
|
| + List output = new List();
|
| + forEach((Node element) {
|
| + output.add(f(element));
|
| + });
|
| + return output;
|
| + }
|
| +
|
| Collection<Node> filter(bool f(Node element)) {
|
| List<Node> output = new List<Node>();
|
| forEach((Node element) {
|
|
|