mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
25 lines
483 B
JavaScript
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(){
|
|
} |