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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/more-routing/route-extracted.js

Issue 1162963002: Revert "Rename polymer and cr_elements v0_8 to v1_0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 (function(scope) { 2 (function(scope) {
3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; 3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {};
4 MoreRouting.Route = Route; 4 MoreRouting.Route = Route;
5 5
6 // Note that this can differ from the part separator defined by the driver. The 6 // Note that this can differ from the part separator defined by the driver. The
7 // driver's separator is used when parsing/generating URLs given to the client, 7 // driver's separator is used when parsing/generating URLs given to the client,
8 // whereas this one is for route definitions. 8 // whereas this one is for route definitions.
9 var PART_SEPARATOR = '/'; 9 var PART_SEPARATOR = '/';
10 var PARAM_SENTINEL = ':'; 10 var PARAM_SENTINEL = ':';
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 function namedParams(compiled) { 205 function namedParams(compiled) {
206 var result = []; 206 var result = [];
207 compiled.forEach(function(part) { 207 compiled.forEach(function(part) {
208 if (part.type === 'static') return; 208 if (part.type === 'static') return;
209 result.push(part.name); 209 result.push(part.name);
210 }); 210 });
211 return result; 211 return result;
212 } 212 }
213 213
214 })(window); 214 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698