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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/more-routing/params-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
2 (function(scope) { 1 (function(scope) {
3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; 2 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {};
4 MoreRouting.Params = Params; 3 MoreRouting.Params = Params;
5 4
6 /** 5 /**
7 * A collection of route parameters and their values, with nofications. 6 * A collection of route parameters and their values, with nofications.
8 * 7 *
9 * Params prefixed by `__` are reserved. 8 * Params prefixed by `__` are reserved.
10 * 9 *
11 * @param {!Array<string>} params The keys of the params being managed. 10 * @param {!Array<string>} params The keys of the params being managed.
(...skipping 24 matching lines...) Expand all
36 }, 35 },
37 set: function(value) { 36 set: function(value) {
38 if (state[param] === value) return; 37 if (state[param] === value) return;
39 state[param] = value; 38 state[param] = value;
40 model.__notify(param, value); 39 model.__notify(param, value);
41 }, 40 },
42 }); 41 });
43 }); 42 });
44 } 43 }
45 44
46 })(window); 45 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698