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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/more-routing/more-routing-config-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 1 Polymer({
2 2
3 Polymer({
4
5 is: 'more-routing-config', 3 is: 'more-routing-config',
6 4
7 properties: { 5 properties: {
8 6
9 /** 7 /**
10 * The routing driver to use. 8 * The routing driver to use.
11 * 9 *
12 * * `hash`: `MoreRouting.HashDriver` 10 * * `hash`: `MoreRouting.HashDriver`
13 * * `path`: `MoreRouting.PathDriver` 11 * * `path`: `MoreRouting.PathDriver`
14 * * `mock`: `MoreRouting.MockDriver` 12 * * `mock`: `MoreRouting.MockDriver`
(...skipping 20 matching lines...) Expand all
35 driver = new MoreRouting.PathDriver(config); 33 driver = new MoreRouting.PathDriver(config);
36 } else if (this.driver === 'mock') { 34 } else if (this.driver === 'mock') {
37 driver = new MoreRouting.MockDriver(config); 35 driver = new MoreRouting.MockDriver(config);
38 } else { 36 } else {
39 throw new Error('Unknown driver type "' + this.driver + '"'); 37 throw new Error('Unknown driver type "' + this.driver + '"');
40 } 38 }
41 39
42 MoreRouting.driver = driver; 40 MoreRouting.driver = driver;
43 }, 41 },
44 42
45 }); 43 });
46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698