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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/more-routing/driver/mock-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, 6 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
2 (function(scope) { 2 (function(scope) {
3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; 3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {};
4 MoreRouting.MockDriver = MockDriver; 4 MoreRouting.MockDriver = MockDriver;
5 5
6 /** A mock driver for use in your tests. */ 6 /** A mock driver for use in your tests. */
7 function MockDriver() { 7 function MockDriver() {
8 MoreRouting.Driver.apply(this, arguments); 8 MoreRouting.Driver.apply(this, arguments);
9 } 9 }
10 MockDriver.prototype = Object.create(MoreRouting.Driver.prototype); 10 MockDriver.prototype = Object.create(MoreRouting.Driver.prototype);
11 11
12 MockDriver.prototype.navigateToUrl = function navigateToUrl(url) { 12 MockDriver.prototype.navigateToUrl = function navigateToUrl(url) {
13 this.setCurrentPath(url); 13 this.setCurrentPath(url);
14 }; 14 };
15 15
16 })(window); 16 })(window);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698