Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: lib/html/templates/html/impl/impl_DocumentFragment.darttemplate

Issue 11235029: Get rid of ===/!===. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
diff --git a/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate b/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
index e8a1e9dc2c1c90e1dff2be723434c3ac2db5ca02..f87d046b20a720b211d1629952c69b42e43bba82 100644
--- a/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
+++ b/lib/html/templates/html/impl/impl_DocumentFragment.darttemplate
@@ -94,7 +94,7 @@ class _FilteredElementList implements List {
_filtered.indexOf(element, start);
int lastIndexOf(Element element, [int start = null]) {
- if (start === null) start = length - 1;
+ if (start == null) start = length - 1;
return _filtered.lastIndexOf(element, start);
}

Powered by Google App Engine
This is Rietveld 408576698