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.
2 parents 50fa306 + bded12a commit 61fe033Copy full SHA for 61fe033
modules/utils/createRouter.js
@@ -354,7 +354,7 @@ function createRouter(options) {
354
* Router.*Location objects (e.g. Router.HashLocation or Router.HistoryLocation).
355
*/
356
run: function (callback) {
357
- function dispatchHandler(error, transition) {
+ var dispatchHandler = function(error, transition) {
358
pendingTransition = null;
359
360
if (error) {
@@ -383,7 +383,7 @@ function createRouter(options) {
383
);
384
385
// Listen for changes to the location.
386
- function changeListener(change) {
+ var changeListener = function(change) {
387
router.dispatch(change.path, change.type, dispatchHandler);
388
}
389
0 commit comments