We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2425453 commit bded12aCopy full SHA for bded12a
modules/utils/createRouter.js
@@ -351,7 +351,7 @@ function createRouter(options) {
351
* Router.*Location objects (e.g. Router.HashLocation or Router.HistoryLocation).
352
*/
353
run: function (callback) {
354
- function dispatchHandler(error, transition) {
+ var dispatchHandler = function(error, transition) {
355
pendingTransition = null;
356
357
if (error) {
@@ -380,7 +380,7 @@ function createRouter(options) {
380
);
381
382
// Listen for changes to the location.
383
- function changeListener(change) {
+ var changeListener = function(change) {
384
router.dispatch(change.path, change.type, dispatchHandler);
385
}
386
0 commit comments