summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-08 10:39:32 +0200
committerRémy Coutable <remy@rymai.me>2017-06-09 17:21:39 +0200
commit8a2d536ac3178c18a08cc107453c23c459b2cef4 (patch)
treec54b3c7e82145e418065e3f784a80195dd4a037f /vendor
parentb173ae6b48323b22f5650e97cd797fa9c49e6cd8 (diff)
downloadgitlab-ce-8a2d536ac3178c18a08cc107453c23c459b2cef4.tar.gz
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')
-rw-r--r--vendor/assets/javascripts/peek.js4
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') {