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

Unified Diff: lib/src/iron-selector/iron-multi-selectable.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 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
« no previous file with comments | « lib/src/iron-range-behavior/test/basic.html ('k') | lib/src/iron-selector/iron-selectable.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/iron-selector/iron-multi-selectable.html
diff --git a/lib/src/iron-selector/iron-multi-selectable.html b/lib/src/iron-selector/iron-multi-selectable.html
index ba9455ded233d8b00081e14c2bf00e16dab6959e..f6a153156ea8d3740cd8dd2e52ca09c134a87582 100644
--- a/lib/src/iron-selector/iron-multi-selectable.html
+++ b/lib/src/iron-selector/iron-multi-selectable.html
@@ -103,9 +103,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
var i = this.selectedValues.indexOf(value);
var unselected = i < 0;
if (unselected) {
- this.selectedValues.push(value);
+ this.push('selectedValues',value);
} else {
- this.selectedValues.splice(i, 1);
+ this.splice('selectedValues',i,1);
}
this._selection.setItemSelected(this._valueToItem(value), unselected);
}
« no previous file with comments | « lib/src/iron-range-behavior/test/basic.html ('k') | lib/src/iron-selector/iron-selectable.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698