Skip to content

Instantly share code, notes, and snippets.

@Mithrandir0x
Created February 9, 2012 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mithrandir0x/1780500 to your computer and use it in GitHub Desktop.
Save Mithrandir0x/1780500 to your computer and use it in GitHub Desktop.
Test file for jsdoc.
/**
* @namespace
* @name Namespace
*/
(/** @lends <global> */ function(Namespace){
/**
* This class tries to be a humble Singleton.
*
* @class
* @name Namespace.SingletonTestClass
* @author mithrandir0x
*/
var SingletonTestClass = function(){
throw "SingletonTestClass cannot be instantiated.";
};
/**
* A public static property.
*
* @constant
* @memberOf Namespace.SingletonTestClass
*/
SingletonTestClass.PublicStaticProperty = 0.462117157260010;
/**
* A public static method.
*
* @returns {null} It returns nothing.
* @memberOf Namespace.SingletonTestClass
*/
SingletonTestClass.PublicStaticMethod = function(){
return null;
};
Namespace.SingletonTestClass = SingletonTestClass;
})(window.Namespace);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment