paste.chapril.org-privatebin/jsdoc_toolkit-2.3.3-beta/app/test/globals.js
2010-05-26 15:34:42 -07:00

25 lines
483 B
JavaScript

function example(/**Circle*/a, b) {
/** a global defined in function */
var number = a;
var hideNumber = function(){
}
setNumber = function(){
}
alert('You have chosen: ' + b);
}
function initPage() {
var supported = document.createElement && document.getElementsByTagName;
if (!supported) return;
// start of DOM script
var x = document.getElementById('writeroot');
// etc.
}
/** an example var */
var document = new Document(x, y);
var getNumber = function(){
}