diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-04 16:44:43 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-10 12:14:23 +0300 |
commit | 6c97107d37771522d1deec6007a791332270ba6f (patch) | |
tree | 07d8cf2d1dcd22af5eb4d41ebd81dd53204d4832 /app/assets | |
parent | bbf7ea24a560e22c3b51326d2413a6f8d6f0a530 (diff) |
fixed eslint
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/flash.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/assets/javascripts/flash.js b/app/assets/javascripts/flash.js index d745483c93f..8ac2b96a22d 100644 --- a/app/assets/javascripts/flash.js +++ b/app/assets/javascripts/flash.js @@ -44,14 +44,14 @@ const createFlashEl = (message, type) => ` * along with ability to provide actionConfig which can be used to show * additional action or link on banner next to message * - * @param {String} message Flash message text - * @param {String} type Type of Flash, it can be `notice` or `alert` (default) - * @param {Object} parent Reference to parent element under which Flash needs to appear - * @param {Object} actonConfig Map of config to show action on banner - * @param {String} href URL to which action config should point to (default: '#') - * @param {String} title Title of action - * @param {Function} clickHandler Method to call when action is clicked on - * @param {Boolean} fadeTransition Boolean to determine whether to fade the alert out + * @param {String} message Flash message text + * @param {String} type Type of Flash, it can be `notice` or `alert` (default) + * @param {Object} parent Reference to parent element under which Flash needs to appear + * @param {Object} actonConfig Map of config to show action on banner + * @param {String} href URL to which action config should point to (default: '#') + * @param {String} title Title of action + * @param {Function} clickHandler Method to call when action is clicked on + * @param {Boolean} fadeTransition Boolean to determine whether to fade the alert out */ const createFlash = function createFlash( message, |