UNPKG

raptor

Version:

RaptorJS provides an AMD module loader that works in Node, Rhino and the web browser. It also includes various sub-modules to support building optimized web applications.

25 lines (22 loc) 534 B
/** * Description for my-module.MyClass */ define( "my-module.MyClass", function(require) { /** * Description for the constructor * @param {String} a Param a description * @param {String} b Param b description */ var MyClass = function(a, b) { this.a = a; this.b = b; this.c = "test"; }; MyClass.prototype = { hello: function(name) { } }; return MyClass; })