2015-08-03 20:45:58 -04:00
|
|
|
// #docregion all
|
2015-10-14 15:47:22 -04:00
|
|
|
// #docregion log
|
2015-08-03 20:45:58 -04:00
|
|
|
/**
|
|
|
|
* @description This function logs a string.
|
|
|
|
*/
|
|
|
|
function log() {
|
|
|
|
console.log('Logging.');
|
|
|
|
}
|
|
|
|
// #enddocregion
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @description My application
|
|
|
|
*/
|
|
|
|
var myApp = {
|
|
|
|
// #docregion greet
|
|
|
|
/**
|
|
|
|
* @description Display a greeting
|
|
|
|
* @param {string} name The name of the person to greet
|
|
|
|
*/
|
|
|
|
greet: function(name) {
|
|
|
|
console.log('hello ' + name);
|
|
|
|
}
|
|
|
|
// #enddocregion
|
|
|
|
};
|