short-jsdoc
Version:
short and simple jsdoc Object Oriented syntax format and implementation
30 lines (24 loc) • 960 B
JavaScript
// @module empty2
// @class MyView @extend Backbone.View
// @property {Object} a
// @property {Array} b
// @property {Array<String>} c
// @property {JoJoJo} d
// @class OtherView This contains a @?link "[Link to google](http://google.com/)" to test if we can reference external resources. @extend MyView
// @method getModel @returns {Backbone.Model} yes we do because of the association with @?class empty2.MyModel it implies that.
// @class R @extends Backbone.Router
// @property {Backbone.View} p
// @class MyModel for more info please refeer to @?ref empty2.MyView because it uses @extends Backbone.Model
// @attribute {String} name bla bal bal abla
// @property {String} prop1
// @event {String} change
// @class MyModelExtension @extends MyModel
// @attribute {String} name2
// @property {String} prop2
// @event {String} change2
/**
* @module funnycomments
* @class Letsseehow this outputed
* a new line for this class
* and another one
*/