Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-webui
Commits
7607ab11
Verified
Commit
7607ab11
authored
4 months ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Shrink libs directory by over 100MB
parent
a80ba140
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!150
Release 0.15.2
,
!145
F smaller libs
Pipeline
#59160
passed
3 months ago
Stage: setup
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libs/plotly.js-1.52.2.zip
+0
-0
0 additions, 0 deletions
libs/plotly.js-1.52.2.zip
misc/merge_js.sh
+2
-2
2 additions, 2 deletions
misc/merge_js.sh
test/core/js/modules/form_panel.js.js
+2
-2
2 additions, 2 deletions
test/core/js/modules/form_panel.js.js
with
4 additions
and
4 deletions
libs/plotly.js-1.52.2.zip
+
0
−
0
View file @
7607ab11
No preview for this file type
This diff is collapsed.
Click to expand it.
misc/merge_js.sh
+
2
−
2
View file @
7607ab11
...
...
@@ -51,7 +51,7 @@ _create_jsheader () {
</xsl:attribute>
</xsl:element>
"
[
[
-f
"public/index.html"
]
]
&&
sed
-i
"s|^
\(
.*JS_INCLUDE.*
\)
$|
<script src=
\"
${
DIST_BUNDLE
}
\"
><
\/
script>
\n\1
|g"
public/index.html
;
[
-f
"public/index.html"
]
&&
sed
-i
"s|^
\(
.*JS_INCLUDE.*
\)
$|
<script src=
\"
${
DIST_BUNDLE
}
\"
><
\/
script>
\n\1
|g"
public/index.html
;
else
_ALL_SOURCES
=
$@
echo
"
${
_ALL_SOURCES
}
"
...
...
@@ -66,7 +66,7 @@ _create_jsheader () {
</xsl:attribute>
</xsl:element>
"
sed
-i
"s|^
\(
.*JS_INCLUDE.*
\)
$|
<script src=
\"
${
_SOURCE
}
\"
><
\/
script>
\n\1
|g"
public/index.html
;
[
-f
"public/index.html"
]
&&
sed
-i
"s|^
\(
.*JS_INCLUDE.*
\)
$|
<script src=
\"
${
_SOURCE
}
\"
><
\/
script>
\n\1
|g"
public/index.html
;
done
fi
...
...
This diff is collapsed.
Click to expand it.
test/core/js/modules/form_panel.js.js
+
2
−
2
View file @
7607ab11
...
...
@@ -90,7 +90,7 @@ QUnit.test("autofocus_without_form", function(assert) {
return
container
[
0
];
};
// This should always work
cb_without_autofocus
=
form_panel
.
create_show_form_callback
(
const
cb_without_autofocus
=
form_panel
.
create_show_form_callback
(
id
,
title
,
undefined
,
...
...
@@ -103,7 +103,7 @@ QUnit.test("autofocus_without_form", function(assert) {
assert
.
ok
(
document
.
querySelector
(
`#
${
id
}
`
),
"
Callback was called without autofocus.
"
);
$
(
`#
${
id
}
`
).
remove
();
cb_with_autofocus
=
form_panel
.
create_show_form_callback
(
const
cb_with_autofocus
=
form_panel
.
create_show_form_callback
(
id
,
title
,
undefined
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment