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

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

Issue 20064004: Only need to force removal of conditional attribute bindings (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/element.dart
diff --git a/pkg/mdv/lib/src/element.dart b/pkg/mdv/lib/src/element.dart
index 42eb389d9d466e567973070bcf2ddadd1501e509..3e6e1b06ae5a27921670e8026bb6b12f45ea9a80 100644
--- a/pkg/mdv/lib/src/element.dart
+++ b/pkg/mdv/lib/src/element.dart
@@ -20,10 +20,9 @@ class _ElementExtension extends _NodeExtension {
_attributeBindings = new Map<String, StreamSubscription>();
}
- node.xtag.attributes.remove(name);
-
var changed;
if (name.endsWith('?')) {
+ node.xtag.attributes.remove(name);
name = name.substring(0, name.length - 1);
changed = (value) {
« 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