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

Unified Diff: pkg/mdv/lib/src/select_element.dart

Issue 20369004: [mdv] fix analyzer failure in select_element.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mdv/lib/src/select_element.dart
diff --git a/pkg/mdv/lib/src/select_element.dart b/pkg/mdv/lib/src/select_element.dart
index 05b186eccd878f64db239faeeab4e3c695c01900..5ae74c8dea00ac093c973aa01ebdc1db7b82b40f 100644
--- a/pkg/mdv/lib/src/select_element.dart
+++ b/pkg/mdv/lib/src/select_element.dart
@@ -11,7 +11,7 @@ class _SelectElementExtension extends _ElementExtension {
SelectElement get node => super.node;
NodeBinding createBinding(String name, model, String path) {
- if (name.toLowerCase() === 'selectedindex') {
+ if (name.toLowerCase() == 'selectedindex') {
Jennifer Messerly 2013/07/25 18:46:57 apparently, dart2js still(!) supports ===, so actu
// TODO(rafaelw): Maybe template should remove all binding instructions.
node.attributes.remove(name);
return new _SelectedIndexBinding(node, model, path);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698