Created
February 9, 2012 15:01
-
-
Save Mithrandir0x/1780500 to your computer and use it in GitHub Desktop.
Test file for jsdoc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @namespace | |
* @name Namespace | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(/** @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