Skip to content

Commit 6540dbd

Browse files
committed
Merge pull request STRML#139 from parshap/navigate-args
NavigatableMixin.navigate: Add missing argument
2 parents 7a41c26 + 1b4aed1 commit 6540dbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/NavigatableMixin.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var Environment = require('./environment');
88
* NavigatableMixin
99
*
1010
* A mixin for a component which operates in context of a router and can
11-
* navigate to a different route using `navigate(path, cb)` method.
11+
* navigate to a different route using `navigate(path, navigation, cb)` method.
1212
*/
1313
var NavigatableMixin = {
1414

@@ -27,8 +27,8 @@ var NavigatableMixin = {
2727
return this._getNavigable().getPath();
2828
},
2929

30-
navigate: function(path, cb) {
31-
return this._getNavigable().navigate(path, cb);
30+
navigate: function(path, navigation, cb) {
31+
return this._getNavigable().navigate(path, navigation, cb);
3232
},
3333

3434
makeHref: function(path) {

0 commit comments

Comments
 (0)