Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<script>
var systemLocate = System.locate;
System.cacheBust = '?bust=' + Date.now();
System.locate = function (load) {
var System = this;
return Promise.resolve(systemLocate.call(this, load))
.then(function (address) {
if (address.lastIndexOf("html.js") > -1) return address;
return address + System.cacheBust;
});
};
System.import('aurelia-bootstrapper');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.