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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/more-routing/routing-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 3
5 // Route singletons. 4 // Route singletons.
6 var routesByPath = {}; 5 var routesByPath = {};
7 var pathsByName = {}; 6 var pathsByName = {};
8 7
9 // Route Management 8 // Route Management
10 9
11 /** 10 /**
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 }, 115 },
117 set: function setDriver(newDriver) { 116 set: function setDriver(newDriver) {
118 if (driver) { 117 if (driver) {
119 console.warn('Changing routing drivers is not supported, ignoring. You sho uld have only one <more-routing-config> on the page!'); 118 console.warn('Changing routing drivers is not supported, ignoring. You sho uld have only one <more-routing-config> on the page!');
120 return; 119 return;
121 } 120 }
122 driver = newDriver; 121 driver = newDriver;
123 } 122 }
124 }); 123 });
125 124
126 })(window); 125 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698