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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/more-routing/driver-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.Driver = Driver; 3 MoreRouting.Driver = Driver;
5 4
6 /** 5 /**
7 * TODO(nevir): Docs. 6 * TODO(nevir): Docs.
8 */ 7 */
9 function Driver(opt_config) { 8 function Driver(opt_config) {
10 var config = opt_config || {}; 9 var config = opt_config || {};
11 if (config.prefix) this.prefix = config.prefix; 10 if (config.prefix) this.prefix = config.prefix;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 route = candidates[i]; 93 route = candidates[i];
95 route.processPathParts(parts); 94 route.processPathParts(parts);
96 if (route.active) { 95 if (route.active) {
97 routes.push(route); 96 routes.push(route);
98 routes = routes.concat(this._matchingRoutes(parts.slice(route.compiled.len gth), route.children)); 97 routes = routes.concat(this._matchingRoutes(parts.slice(route.compiled.len gth), route.children));
99 } 98 }
100 } 99 }
101 return routes; 100 return routes;
102 } 101 }
103 102
104 })(window); 103 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698