Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
8a2d536a
Commit
8a2d536a
authored
Jun 08, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix vendor/peek.js so that it can be bundled with Webpack
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
b173ae6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
config/application.rb
config/application.rb
+0
-1
vendor/assets/javascripts/peek.js
vendor/assets/javascripts/peek.js
+2
-2
No files found.
config/application.rb
View file @
8a2d536a
...
...
@@ -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"
...
...
vendor/assets/javascripts/peek.js
View file @
8a2d536a
...
...
@@ -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
'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment