3 is: 'more-routing-config',
8 * The routing driver to use.
10 * * `hash`: `MoreRouting.HashDriver`
11 * * `path`: `MoreRouting.PathDriver`
12 * * `mock`: `MoreRouting.MockDriver`
26 if (this.urlPrefix) config.prefix = this.urlPrefix;
29 // TODO(nevir): Support custom drivers, too.
30 if (this.driver === 'hash') {
31 driver = new MoreRouting.HashDriver(config);
32 } else if (this.driver === 'path') {
33 driver = new MoreRouting.PathDriver(config);
34 } else if (this.driver === 'mock') {
35 driver = new MoreRouting.MockDriver(config);
37 throw new Error('Unknown driver type "' + this.driver + '"');
40 MoreRouting.driver = driver;