sammyjs: Resolve syntax issue with route overloads

Resolve issue with route overloads by removing the route overload that
returns void in favour of those that return Application (this matches
the library code)
This commit is contained in:
Jon Egerton
2013-08-21 09:09:25 +01:00
parent 34496a8c8f
commit 12b98a4372
-1
View File
@@ -81,7 +81,6 @@ declare module Sammy {
$element(selector?: string): JQuery;
after(callback: Function): Application;
any(verb: string, path: string, callback: Function): void;
route(verb: string, path: string, callback: Function): void;
around(callback: Function): Application;
before(options: any, callback: Function): Application;
bind(name: string, callback: Function): Application;