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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-selector/iron-selection-extracted.js

Issue 1155683008: Rename polymer and cr_elements v0_8 to v1_0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1
Patch Set: fix a merge mistake Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 1
2 2
3 /** 3 /**
4 * @param {!Function} selectCallback 4 * @param {!Function} selectCallback
5 * @constructor 5 * @constructor
6 */ 6 */
7 Polymer.IronSelection = function(selectCallback) { 7 Polymer.IronSelection = function(selectCallback) {
8 this.selection = []; 8 this.selection = [];
9 this.selectCallback = selectCallback; 9 this.selectCallback = selectCallback;
10 }; 10 };
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 * 93 *
94 * @method toggle 94 * @method toggle
95 * @param {*} item The item to toggle. 95 * @param {*} item The item to toggle.
96 */ 96 */
97 toggle: function(item) { 97 toggle: function(item) {
98 this.setItemSelected(item, !this.isSelected(item)); 98 this.setItemSelected(item, !this.isSelected(item));
99 } 99 }
100 100
101 }; 101 };
102 102
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698