Imported Debian patch 4.8.10-2
This commit is contained in:
28
debian/missing-sources/dojo/router.js
vendored
Normal file
28
debian/missing-sources/dojo/router.js
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
define([
|
||||
"./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({});
|
||||
});
|
||||
Reference in New Issue
Block a user