48cd1865d252867ebbd3852d76bed271d0028d29
max
Tue Jun 30 05:33:14 2026 -0700
hgBlat: move showAliPlaces autoBigPsl inline JS into src/hg/js/hgBlat.js
The "Create a stable custom track" (autoBigPsl) results page emitted ~140 lines
of JavaScript as C string literals via jsInlineF/jsInline. Move that code into a
real, jshint-clean hgBlat.js and have hgBlat.c emit only a small hgBlatData config
object (url, trackName, trackDescription, and the custom-track cart var names) plus
a jsIncludeFile("hgBlat.js"). Behavior is unchanged. The track name/description are
still javaScriptLiteralEncode'd before interpolation.
diff --git src/hg/js/makefile src/hg/js/makefile
index 897098a1e8b..2bc6566e485 100644
--- src/hg/js/makefile
+++ src/hg/js/makefile
@@ -1,26 +1,26 @@
kentSrc = ../..
include ../../inc/common.mk
include install.mk
SUBDIRS= external model react tutorials
include subdirs.mk
# UCSC js files must pass jshint
UCSC_JS_FILES=ajax.js alleles.js assemblySearch.js autocomplete.js \
autocompleteCat.js edwPersona.js facetedComposite.js \
- gar.js hgCustom.js hgCollection.js hgGateway.js hgGtexTrackSettings.js \
+ gar.js hgBlat.js hgCustom.js hgCollection.js hgGateway.js hgGtexTrackSettings.js \
hgHubConnect.js hgTracks.js hgc.js hgMyData.js hgPhyloPlace.js \
hgVai.js hui.js jsHelper.js utils.js ddcl.js subCfg.js \
encodeProject.js encodeDataSummary.js encodeDataMatrix.js encodeChipMatrix.js encodeMatrix.js d3.dendrograms.js \
cdwSummaryJs.js spectrum.min.js hgSearch.js lorax.js liftRequest.js \
myVariantsBlocks.js
# ES6 module files loaded via dynamic import() on hgc details pages
MODULE_FILES=hgc.histogram.js
# STATIC files must pass jshint
STATIC_FILES=staticDoc.js dbDbTaxonomy.js analytics.js
# JQUERY files and other third pary files which have NOT BEEN TOUCHED by UCSC
JQUERY_FILES_UNTOUCHED= \
d3pie.min.js \