Index: third_party/polymer/v1_0/components-chromium/more-routing/more-routing-config-extracted.js |
diff --git a/third_party/polymer/v1_0/components-chromium/more-routing/more-routing-config-extracted.js b/third_party/polymer/v1_0/components-chromium/more-routing/more-routing-config-extracted.js |
deleted file mode 100644 |
index 10112248f379620fe492cece24c19d7645c8d366..0000000000000000000000000000000000000000 |
--- a/third_party/polymer/v1_0/components-chromium/more-routing/more-routing-config-extracted.js |
+++ /dev/null |
@@ -1,46 +0,0 @@ |
- |
- |
- Polymer({ |
- |
- is: 'more-routing-config', |
- |
- properties: { |
- |
- /** |
- * The routing driver to use. |
- * |
- * * `hash`: `MoreRouting.HashDriver` |
- * * `path`: `MoreRouting.PathDriver` |
- * * `mock`: `MoreRouting.MockDriver` |
- * |
- */ |
- driver: String, |
- |
- /** |
- * |
- */ |
- urlPrefix: String, |
- |
- }, |
- |
- ready: function() { |
- var config = {}; |
- if (this.urlPrefix) config.prefix = this.urlPrefix; |
- |
- var driver; |
- // TODO(nevir): Support custom drivers, too. |
- if (this.driver === 'hash') { |
- driver = new MoreRouting.HashDriver(config); |
- } else if (this.driver === 'path') { |
- driver = new MoreRouting.PathDriver(config); |
- } else if (this.driver === 'mock') { |
- driver = new MoreRouting.MockDriver(config); |
- } else { |
- throw new Error('Unknown driver type "' + this.driver + '"'); |
- } |
- |
- MoreRouting.driver = driver; |
- }, |
- |
- }); |
- |