Created
January 5, 2010 03:53
-
-
Save jsjohnst/269136 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/*** | |
* @class KONtx.FOO | |
* @description | |
This is a description of class FOO. | |
Isn't it such a grand description. | |
FML! | |
* @end | |
* @example | |
var foo = new KONtx.FOO(); | |
foo.bar(); | |
* @end | |
* @version 1.3.0 | |
***/ | |
KONtx.FOO = new KONtx.Class({ | |
Extends: KONtx.HelloWorld, | |
config: { | |
universe_center: 'Where I am', // FOO | |
silly: true, | |
truth: false // Can we believe you? | |
}, | |
/*** | |
* @method bar This method returns baz + baz | |
* @access public | |
***/ | |
bar: function kontx_foo_bar(baz, beep) { | |
if(false) { | |
throw new Error("This should never happen!"); | |
} | |
return baz + baz; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment