diff options
author | webchick <drupal@webchick.net> | 2017-11-30 12:29:41 -0800 |
---|---|---|
committer | webchick <drupal@webchick.net> | 2017-11-30 12:30:36 -0800 |
commit | 9b874acf9f12f385c1ba684efee9cc21c73db442 (patch) | |
tree | ac55bc69e9ce0e23eba7cb5d40970147f42ac07a /core/misc/machine-name.es6.js | |
parent | 9bcfe6d59f16720eb7e536cca6a4f852174fac16 (diff) | |
download | drupal-9b874acf9f12f385c1ba684efee9cc21c73db442.tar.gz drupal-9b874acf9f12f385c1ba684efee9cc21c73db442.zip |
Issue #2915784 by dawehner, drpal, justafish, tedbow, xjm: 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'); |