diff options
author | webchick <drupal@webchick.net> | 2017-12-03 08:02:05 -0800 |
---|---|---|
committer | webchick <drupal@webchick.net> | 2017-12-03 08:02:43 -0800 |
commit | ce86e09d3a8fa6ce8702338560163f204a6031b3 (patch) | |
tree | 176e9c3c1ef8988a106657e69d20582755990b56 /core/misc/machine-name.es6.js | |
parent | 148db4bef4c0e1b0c75e1dccb609a0d7de009a8e (diff) | |
download | drupal-ce86e09d3a8fa6ce8702338560163f204a6031b3.tar.gz drupal-ce86e09d3a8fa6ce8702338560163f204a6031b3.zip |
Issue #2915784 by dawehner, drpal, mikejw, justafish, tedbow, xjm, webchick: 1/3 JS codestyle: camelcase
Diffstat (limited to 'core/misc/machine-name.es6.js')
-rw-r--r-- | core/misc/machine-name.es6.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/misc/machine-name.es6.js b/core/misc/machine-name.es6.js index 2695b56d5a98..ee7f528092ff 100644 --- a/core/misc/machine-name.es6.js +++ b/core/misc/machine-name.es6.js @@ -86,11 +86,11 @@ } } - Object.keys(settings.machineName).forEach((source_id) => { + Object.keys(settings.machineName).forEach((sourceId) => { let machine = ''; - const options = settings.machineName[source_id]; + const options = settings.machineName[sourceId]; - const $source = $context.find(source_id).addClass('machine-name-source').once('machine-name'); + const $source = $context.find(sourceId).addClass('machine-name-source').once('machine-name'); const $target = $context.find(options.target).addClass('machine-name-target'); const $suffix = $context.find(options.suffix); const $wrapper = $target.closest('.js-form-item'); |