ttrss/lib/dojo/router.js.uncompressed.js

29 lines
547 B
JavaScript
Raw Normal View History

2013-03-18 06:26:24 +00:00
define("dojo/router", [
"./router/RouterBase"
], function(RouterBase){
// module:
// dojo/router
/*=====
return {
// summary:
// A singleton-style instance of dojo/router/RouterBase. See that
// module for specifics.
// example:
// | router.register("/widgets/:id", function(evt){
// | // If "/widgets/3" was matched,
// | // evt.params.id === "3"
// | xhr.get({
// | url: "/some/path/" + evt.params.id,
// | load: function(data){
// | // ...
// | }
// | });
// | });
};
=====*/
return new RouterBase({});
});