mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-08 11:39:11 +08:00
Added tests for static functions.
This commit is contained in:
1 parent
34ef6f1dd3
commit
e2e6bdb50d
1 file changed
+21
-1
+21
-1
@@ -54,4 +54,24 @@ routie("users/12312312");
|
||||
routie("*", function () {
|
||||
});
|
||||
|
||||
routie("anything");
|
||||
routie("anything");
|
||||
|
||||
// STATIC
|
||||
|
||||
// Lookup
|
||||
var existing = routie.lookup("users/bob", () => {
|
||||
});
|
||||
|
||||
// Remove
|
||||
routie.remove("users/bob", () => {
|
||||
});
|
||||
|
||||
// RemoveAll
|
||||
routie.removeAll();
|
||||
|
||||
// Navigate
|
||||
routie.navigate("users/bob");
|
||||
routie.navigate("users/bob", { silent: true });
|
||||
|
||||
// NoConflict
|
||||
var myRoutie = routie.noConflict();
|
||||
Reference in new issue
Block a user