Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

Commit

Permalink
#96 router doesn't work in IE 11
Browse files Browse the repository at this point in the history
  • Loading branch information
barsh committed Sep 14, 2016
1 parent 2d7afc1 commit 00dcecc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/ko-component-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ return /******/ (function(modules) { // webpackBootstrap

arguments[2] = p || push;
}
this._queuedArgs = arguments;
this._queuedArgs = [arguments[0], arguments[1], arguments[2], arguments[3]];

if (this._queuedUpdate) {
return this._queuedUpdate;
Expand Down
4 changes: 2 additions & 2 deletions dist/ko-component-router.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var Context = function () {

arguments[2] = p || push;
}
this._queuedArgs = arguments;
this._queuedArgs = [arguments[0], arguments[1], arguments[2], arguments[3]];

if (this._queuedUpdate) {
return this._queuedUpdate;
Expand Down
4 changes: 2 additions & 2 deletions src/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export default class Context {
const [,,p] = this._queuedArgs
arguments[2] = p || push
}
this._queuedArgs = arguments

this._queuedArgs = [arguments[0], arguments[1], arguments[2], arguments[3]]
if (this._queuedUpdate) {
return this._queuedUpdate
}
Expand Down

0 comments on commit 00dcecc

Please sign in to comment.