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

Unified Diff: lib/src/iron-selector/iron-selection.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-selector/iron-selectable.html ('k') | lib/src/iron-selector/test/activate-event.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/iron-selector/iron-selection.html
diff --git a/lib/src/iron-selector/iron-selection.html b/lib/src/iron-selector/iron-selection.html
index 0ff04cfae4679fe0d4cd551f6ebcf6dbbaf479cf..b09a23c48796b41aed008c81ba13e171479cc94f 100644
--- a/lib/src/iron-selector/iron-selection.html
+++ b/lib/src/iron-selector/iron-selection.html
@@ -32,7 +32,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
* the selected item or undefined if there is no selection.
*/
get: function() {
- return this.multi ? this.selection : this.selection[0];
+ return this.multi ? this.selection.slice() : this.selection[0];
},
/**
« no previous file with comments | « lib/src/iron-selector/iron-selectable.html ('k') | lib/src/iron-selector/test/activate-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698