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

Unified Diff: third_party/polymer/v1_0/components-chromium/more-routing/more-routing-config-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, 7 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 side-by-side diff with in-line comments
Download patch
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;
- },
-
- });
-

Powered by Google App Engine
This is Rietveld 408576698