source: Dev/trunk/src/client/dojo/router.js @ 525

Last change on this file since 525 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 532 bytes
Line 
1define([
2        "./router/RouterBase"
3], function(RouterBase){
4
5        // module:
6        //              dojo/router
7
8/*=====
9return {
10        // summary:
11        //              A singleton-style instance of dojo/router/RouterBase. See that
12        //              module for specifics.
13        // example:
14        //      |       router.register("/widgets/:id", function(evt){
15        //      |               // If "/widgets/3" was matched,
16        //      |               // evt.params.id === "3"
17        //      |               xhr.get({
18        //      |                       url: "/some/path/" + evt.params.id,
19        //      |                       load: function(data){
20        //      |                               // ...
21        //      |                       }
22        //      |               });
23        //      |       });
24};
25=====*/
26
27        return new RouterBase({});
28});
Note: See TracBrowser for help on using the repository browser.