Skip to content

Commit b237238

Browse files
committed
[fixed] Removed getter for IE8 compat
Fixes #2128
1 parent 8c2e93f commit b237238

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/locations/TestLocation.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ class TestLocation {
1010
constructor(history) {
1111
this.history = history || [];
1212
this.listeners = [];
13+
this.needsDOM = false;
1314
this._updateHistoryLength();
1415
}
1516

16-
get needsDOM() {
17-
return false;
18-
}
19-
2017
_updateHistoryLength() {
2118
History.length = this.history.length;
2219
}

0 commit comments

Comments
 (0)