@@ -9,25 +9,39 @@ var Transitions = {
9
9
pathDelegate : React . PropTypes . any . isRequired
10
10
} ,
11
11
12
+ /**
13
+ * See PathDelegate#makePath.
14
+ */
15
+ makePath : function ( to , params , query ) {
16
+ return this . context . pathDelegate . makePath ( to , params , query ) ;
17
+ } ,
18
+
19
+ /**
20
+ * See PathDelegate#makeHref.
21
+ */
22
+ makeHref : function ( to , params , query ) {
23
+ return this . context . pathDelegate . makeHref ( to , params , query ) ;
24
+ } ,
25
+
12
26
/**
13
27
* See PathDelegate#transitionTo.
14
28
*/
15
29
transitionTo : function ( to , params , query ) {
16
- return this . context . pathDelegate . transitionTo ( to , params , query , this ) ;
30
+ return this . context . pathDelegate . transitionTo ( to , params , query ) ;
17
31
} ,
18
32
19
33
/**
20
34
* See PathDelegate#replaceWith.
21
35
*/
22
36
replaceWith : function ( to , params , query ) {
23
- return this . context . pathDelegate . replaceWith ( to , params , query , this ) ;
37
+ return this . context . pathDelegate . replaceWith ( to , params , query ) ;
24
38
} ,
25
39
26
40
/**
27
41
* See PathDelegate#goBack.
28
42
*/
29
43
goBack : function ( ) {
30
- return this . context . pathDelegate . goBack ( this ) ;
44
+ return this . context . pathDelegate . goBack ( ) ;
31
45
}
32
46
33
47
} ;
0 commit comments