Skip to content
Snippets Groups Projects
Commit 8a2d536a authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Fix vendor/peek.js so that it can be bundled with Webpack


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent b173ae6b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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"
Loading
Loading
Loading
Loading
@@ -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') {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment