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.
28 lines (22 loc) • 688 B
JavaScript
define.Class(
"raptor/jsdoc/Tag",
function(require, exports, module) {
"use strict";
var Tag = function(name, value) {
this.name = name;
this.value = value;
};
Tag.prototype = {
getName: function() {
return this.name;
},
getValue: function() {
return this.value;
},
toString: function() {
return "@" + this.name + " " + this.value;
}
};
return Tag;
});
console.error("raptor/jsdoc/Tag : ", require('raptor/jsdoc/Tag').toString());