Skip to content

Commit

Permalink
fixed route.exec() signature
Browse files Browse the repository at this point in the history
  • Loading branch information
nippur72 committed Nov 29, 2015
1 parent e659aad commit 280fd72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ Contributions are welcome.
If you find bugs or want to improve it, just send a pull request.

# Change log <a name="changelog"></a>
- v0.0.21
- aligned router API to riot v2.3.11
- v0.0.19
- support for precompiled tags
- deprecated support for "template-cache" in favor of precompiled tags
Expand Down
2 changes: 1 addition & 1 deletion riot-ts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare module Riot {
create(): Router;
start(autoExec?: boolean): any;
stop(): any;
exec(callback: Function): any;
exec(): any;
query(): any;
base(base: string): any;
parser(parser: (path: string) => string, secondParser?: Function): any;
Expand Down
2 changes: 1 addition & 1 deletion riot-ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
create(): Router;
start(autoExec?: boolean);
stop();
exec(callback: Function);
exec();
query(): any;

base(base: string);
Expand Down

0 comments on commit 280fd72

Please sign in to comment.