diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-08 11:39:32 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-09 18:21:39 +0300 |
commit | 8a2d536ac3178c18a08cc107453c23c459b2cef4 (patch) | |
tree | c54b3c7e82145e418065e3f784a80195dd4a037f /vendor/assets/javascripts/peek.js | |
parent | b173ae6b48323b22f5650e97cd797fa9c49e6cd8 (diff) |
Fix vendor/peek.js so that it can be bundled with Webpack
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'vendor/assets/javascripts/peek.js')
-rw-r--r-- | vendor/assets/javascripts/peek.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/assets/javascripts/peek.js b/vendor/assets/javascripts/peek.js index 427a8a3efad..f7e77de34ff 100644 --- a/vendor/assets/javascripts/peek.js +++ b/vendor/assets/javascripts/peek.js @@ -9,8 +9,8 @@ updatePerformanceBar = function(results) { var key, label, data, table, html, tr, duration_td, sql_td, strong; - Object.keys(results.data).forEach((key) => { - Object.keys(results.data[key]).forEach((label) => { + Object.keys(results.data).forEach(function(key) { + Object.keys(results.data[key]).forEach(function(label) { data = results.data[key][label]; if (label == 'queries') { |