documentation/test/fixture/lends.input.js
Tom MacWright 25152edeb9 style(prettier): Use prettier for code formatting (#710)
* style(prettier): Use prettier for code formatting

This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs https://github.com/documentationjs/documentation/issues/709
2017-04-10 14:25:45 -04:00

27 lines
500 B
JavaScript

/**
* A neat layout view
* @class TheClass
* @augments Augmented
*/
export default TheClass(
/** @lends TheClass.prototype */
{
/**
* My neat function
* @param {string} word your word
* @returns {string} your word but one better
*/
foo: function(word) {
return word + 1;
},
/**
* My neat function
* @param {string} word your word
* @returns {string} your word but one better
*/
bar(word) {
return word + 1;
}
}
);