PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/tags/jsdoc_toolkit-2.4.0/jsdoc-toolkit/app/test/globals.js

http://jsdoc-toolkit.googlecode.com/
JavaScript | 25 lines | 16 code | 5 blank | 4 comment | 2 complexity | d377dcc8a38b63df25be2b4788b5a54b MD5 | raw file
 1function example(/**Circle*/a, b) {
 2	/** a global defined in function  */
 3	var number = a;
 4	
 5	var hideNumber = function(){
 6	}
 7	
 8	setNumber = function(){
 9	}
10	alert('You have chosen: ' + b);
11}
12
13function initPage() {
14	var supported = document.createElement && document.getElementsByTagName;
15	if (!supported) return;
16	// start of DOM script
17	var x = document.getElementById('writeroot');
18	// etc.
19}
20
21/** an example var */
22var document = new Document(x, y);
23
24var getNumber = function(){
25}