fixing toc issue

This commit is contained in:
walterhiggins 2014-04-26 17:14:32 +01:00
parent b4fe523482
commit d8cfcb4572
2 changed files with 877 additions and 176 deletions

File diff suppressed because it is too large Load diff

View file

@ -26,7 +26,8 @@ var content = [
'The crucial difference is that the events module will have functions for each ', 'The crucial difference is that the events module will have functions for each ',
'of the built-in events so tab-completion will help ', 'of the built-in events so tab-completion will help ',
'beginning programmers to explore the events at the server console window.', 'beginning programmers to explore the events at the server console window.',
'' '',
'***/'
]; ];
for (var i = 0; i< content.length; i++){ for (var i = 0; i< content.length; i++){
out.println(content[i]); out.println(content[i]);
@ -42,9 +43,13 @@ while ( ( entry = zis.nextEntry) != null) {
var comment = [ var comment = [
'/*********************', '/*********************',
'### events.' + fname + '()', '### events.' + fname + '()',
'',
'#### Parameters ', '#### Parameters ',
'',
' * callback - A function which is called whenever the ' + shortName + ' event is fired', ' * callback - A function which is called whenever the ' + shortName + ' event is fired',
'see events.on() for more information', '',
'see events.on() for more information.',
'',
'***/' '***/'
]; ];
for (var i = 0; i < comment.length; i++){ for (var i = 0; i < comment.length; i++){