1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
define(["dojo", "dojo/cookie"], function(dojo, cook){
dojo.thisIsAtestFunction = function(/* String */a){
// summary: Testing a function
// a: String
// Testing a string parameter
return a.toUpperCase(); // String
}
dojo.testFunction2 = function(/* String? */id){
// summary: Simple summary
// description:
// Simple Description.
// On Multiple lines.
// id: String?
// Duplicate matched in signature and in line
return (id || "").toUpperCase(); // String
}
dojo.declare("foo.Bar", null, {
// summary: Nondojo NS populated
})
return dojo;
});
|