summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/application.rb1
-rw-r--r--vendor/assets/javascripts/peek.js4
2 files changed, 2 insertions, 3 deletions
diff --git a/config/application.rb b/config/application.rb
index 31f975d538b..8bbecf3ed0f 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -104,7 +104,6 @@ module Gitlab
config.assets.precompile << "mailers/*.css"
config.assets.precompile << "katex.css"
config.assets.precompile << "katex.js"
- config.assets.precompile << "peek.js"
config.assets.precompile << "xterm/xterm.css"
config.assets.precompile << "peek.css"
config.assets.precompile << "lib/ace.js"
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') {