Skip to content

Commit efdd34d

Browse files
committed
Simplify method definition
1 parent 2209b53 commit efdd34d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/locations/HistoryLocation.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ var HistoryLocation = {
8181
notifyChange(LocationActions.REPLACE);
8282
},
8383

84-
pop: function () {
85-
History.back();
86-
},
84+
pop: History.back,
8785

8886
getCurrentPath: getWindowPath,
8987

0 commit comments

Comments
 (0)