91eda5fa83
Implement a "loader" which allows for applying a version number to everything. Added a cache control for anything which has a version.
6 lines
318 B
JavaScript
6 lines
318 B
JavaScript
// This is stage 1, it can be changed but you must bump the version of the project.
|
|
define([], function () {
|
|
// fix up locations so that relative urls work.
|
|
require.config({ baseUrl: window.location.pathname });
|
|
require([document.querySelector('script[data-bootload]').getAttribute('data-bootload')]);
|
|
});
|