Unless I am missing something, there is no official documentation for the global libraries like “option_selection.js” and “shopify_common.js”. Why is that? Using them just comes down to tribal knowledge and copying snippets and references you stumble across.
What triggered this was trying to dig into ubiquitous functions like “Shopify.Image.switchImage()” that you see used everywhere, but have zero representation in the docs. Am I missing something, or are these just black boxes thrown out there that you are expected to “just know” how to use?