sbin/res/jsdoc/app/handlers/FOODOC.js
author hamidouk
Fri, 23 Dec 2011 11:38:47 +0100
branchjsdoc
changeset 520 fe008e95a716
permissions -rw-r--r--
added jsdoc support, and a script to generate the docs. Also added sample documentation for the IriSP.widget base class.

/**
   This is the main container for the FOODOC handler.
   @namespace
*/
FOODOC = {
};

/** The current version string of this application. */
FOODOC.VERSION = "1.0";

FOODOC.handle = function(srcFile, src) {
	LOG.inform("Handling file '" + srcFile + "'");
	
	return [
		new JSDOC.Symbol(
			"foo",
			[],
			"VIRTUAL",
			new JSDOC.DocComment("/** This is a foo. */")
		)
	];
};

FOODOC.publish = function(symbolgroup) {
	LOG.inform("Publishing symbolgroup.");
};