angular-cn/tools/doc-shredder/_test/test_source/no-multiregion/nested-regions.js

24 lines
424 B
JavaScript
Raw Normal View History

// #docregion all
2015-10-14 15:47:22 -04:00
// #docregion log
/**
* @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
};