Skip to content

Commit

Permalink
Cleaning up a couple jsdocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Croney committed Sep 3, 2015
1 parent e408a3e commit 5c06161
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions behaviors/checkbox-group.js
Expand Up @@ -3,7 +3,7 @@ var dom = require('../services/dom');
/**
* Create checkbox group item for each option.
* @param {string} name
* @param {[{name: string, value: string}]]} options
* @param {[{name: string, value: string}]} options
* @returns {string}
*/
function createOptions(name, options) {
Expand All @@ -24,7 +24,7 @@ function createOptions(name, options) {
/**
* Replace result.el with checkbox-group.
* @param {{name: string}} result
* @param {{options: [{name: string, value: string}]]}} args
* @param {{options: [{name: string, value: string}]}} args
* @returns {{}}
*/
module.exports = function (result, args) {
Expand Down
2 changes: 1 addition & 1 deletion behaviors/textarea.js
Expand Up @@ -3,7 +3,7 @@ var dom = require('../services/dom');
/**
* Create textarea.
* @param {{name: string, bindings: {}}} result
* @param {required: boolean, placeholder: string} args described in detail below:
* @param {{required: boolean, placeholder: string}} args described in detail below:
* @param {boolean} args.required set input required (blocking)
* @param {string} args.placeholder placeholder that will display in the textarea
* @returns {{}}
Expand Down
3 changes: 1 addition & 2 deletions behaviors/url.js
Expand Up @@ -3,10 +3,9 @@ var dom = require('../services/dom');
/**
* Create an URL input.
* @param {{name: string, bindings: {}}} result
* @param {required: boolean, placeholder: string} args described in detail below:
* @param {{required: boolean, placeholder: string}} args described in detail below:
* @param {boolean} args.required set input required (blocking)
* @param {string} args.placeholder placeholder that will display in the input
* @param {} args
* @returns {*}
*/
module.exports = function (result, args) {
Expand Down
2 changes: 1 addition & 1 deletion behaviors/wysiwyg.js
Expand Up @@ -459,7 +459,7 @@ function initWysiwygBinder(enableKeyboardExtras) {
/**
* Create WYSIWYG text editor.
* @param {{name: string, el: Element, binders: {}}} result
* @param {buttons: [string], styled: boolean, enableKeyboardExtras: boolean} args Described in detail below:
* @param {{buttons: [string], styled: boolean, enableKeyboardExtras: boolean}} args Described in detail below:
* @param {[string]} args.buttons array of button names (strings) for tooltip
* @param {boolean} args.styled apply input styles to contenteditable element
* @param {boolean} args.enableKeyboardExtras enable creating new components on enter, and appending text to previous components on delete, etc
Expand Down

0 comments on commit 5c06161

Please sign in to comment.