Skip to content

Commit

Permalink
jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonpecora committed Aug 14, 2015
1 parent 7240836 commit 25c847e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions behaviors/wysiwyg.js
Expand Up @@ -377,6 +377,11 @@ module.exports = function (result, args) {
// put the rich text field after the input
dom.replaceElement(textInput, field);

/**
* match extension names when instantiating medium-editor
* @param {string} extname e.g. 'italic'
* @returns {Function}
*/
function findExtension(extname) {
return function (ext) {
return ext.name === extname;
Expand Down

0 comments on commit 25c847e

Please sign in to comment.