diff options
author | 2013-06-09 16:08:59 +0200 | |
---|---|---|
committer | 2013-06-09 16:08:59 +0200 | |
commit | ecfef4a560dece9dd911017efdfc63fcc04bedfc (patch) | |
tree | 42d00f155c47a8a80e3a023c841a59f87b73885c /module/web/app/scripts/config.js | |
parent | restructured webui to single-page-app, removed jinja (diff) | |
download | pyload-ecfef4a560dece9dd911017efdfc63fcc04bedfc.tar.xz |
adapted to jshint config
Diffstat (limited to 'module/web/app/scripts/config.js')
-rw-r--r-- | module/web/app/scripts/config.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/web/app/scripts/config.js b/module/web/app/scripts/config.js index 9aeaf65a2..398d97e11 100644 --- a/module/web/app/scripts/config.js +++ b/module/web/app/scripts/config.js @@ -36,9 +36,9 @@ require.config({ hbs: { disableI18n: true, helperPathCallback: // Callback to determine the path to look for helpers - function (name) { - // Some helpers are accumulated into one file - if (name.indexOf('file') === 0) + function(name) { + // Some helpers are accumulated into one file + if (name.indexOf('file') === 0) name = 'fileHelper'; return 'helpers/' + name; |