提交 8a2d536a 编写于 作者: R Rémy Coutable

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

Signed-off-by: NRémy Coutable <remy@rymai.me>
上级 b173ae6b
......@@ -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"
......
......@@ -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') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册