Skip to content
Snippets Groups Projects
Verified Commit 7607ab11 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

ENH: Shrink libs directory by over 100MB

parent a80ba140
No related branches found
No related tags found
2 merge requests!150Release 0.15.2,!145F smaller libs
Pipeline #59160 passed
No preview for this file type
......@@ -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
......
......@@ -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,
......
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