Index: sdk/lib/html/templates/html/impl/impl_Node.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_Node.darttemplate b/sdk/lib/html/templates/html/impl/impl_Node.darttemplate |
index 6389fc33e4a22eac0ddd5dd050f837ba6dc2790b..74fe51e4e4278c59a4ba3901de62bf0699c76982 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_Node.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_Node.darttemplate |
@@ -51,6 +51,14 @@ $else |
} |
$endif |
+ Node min([int compare(Node a, Node b)]) { |
+ return _Collections.minInList(this, compare); |
+ } |
+ |
+ Node max([int compare(Node a, Node b)]) { |
+ return _Collections.maxInList(this, compare); |
+ } |
+ |
void add(Node value) { |
_this.$dom_appendChild(value); |
} |