$.route(
{
//always match
//http://example.com/foo/bar/baz.html
path: /./,
func: function() {
console.log("always match!");
}
},
{
//url contains /sample/index.html
//http://example.com/foo/bar/sample/index.html
path: /\/sample\/index\.html/,
func: function() {
console.log("sample page!");
}
}
);
-
Notifications
You must be signed in to change notification settings - Fork 2
tanabe/jQuery-Router
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
URL routing plugin
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published