Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var systemLocate = System.locate;
System.cacheBust = '?bust=' +;
System.locate = function (load) {
var System = this;
return Promise.resolve(, load))
.then(function (address) {
if (address.lastIndexOf("html.js") > -1) return address;
return address + System.cacheBust;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment