| Index: third_party/polymer/v1_0/components-chromium/more-routing/driver/path-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/more-routing/driver/path-extracted.js b/third_party/polymer/v1_0/components-chromium/more-routing/driver/path-extracted.js
|
| deleted file mode 100644
|
| index ad64fd57fac6268f16c4e2a139c3d84bed41b4cf..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/v1_0/components-chromium/more-routing/driver/path-extracted.js
|
| +++ /dev/null
|
| @@ -1,29 +0,0 @@
|
| -
|
| -(function(scope) {
|
| -var MoreRouting = scope.MoreRouting = scope.MoreRouting || {};
|
| -MoreRouting.PathDriver = PathDriver;
|
| -
|
| -/**
|
| - * TODO(nevir): Docs.
|
| - */
|
| -function PathDriver() {
|
| - MoreRouting.Driver.apply(this, arguments);
|
| - this._bindEvents();
|
| - this._read();
|
| -}
|
| -PathDriver.prototype = Object.create(MoreRouting.Driver.prototype);
|
| -
|
| -PathDriver.prototype.navigateToUrl = function navigateToUrl(url) {
|
| - window.history.pushState({}, '', url);
|
| - this._read();
|
| -};
|
| -
|
| -PathDriver.prototype._bindEvents = function _bindEvents() {
|
| - window.addEventListener('popstate', this._read.bind(this));
|
| -};
|
| -
|
| -PathDriver.prototype._read = function _read() {
|
| - this.setCurrentPath(window.location.pathname);
|
| -};
|
| -
|
| -})(window);
|
|
|