diff --git a/static/js/utils/setup.js b/static/js/utils/setup.js index b7296586f..36e61a9b7 100644 --- a/static/js/utils/setup.js +++ b/static/js/utils/setup.js @@ -8,8 +8,8 @@ /** * setup function to initiate a util (utilName) on a scope (sope) with options (options). * - * A util has to define an itself at `window.utils` as shown for the `autoSubmit` util: - * `window.utils.autoSubmit = function(wrapper, options) { ... };` + * Utils need to be defined as property of `window.utils` and need to accept a scope and (optionally) options. + * Example: `window.utils.autoSubmit = function(scope, options) { ... };` */ window.utils.setup = function(utilName, scope, options) {