-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
32 lines (25 loc) · 1.99 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(function() {
const {protocol} = location;
const origin = `${protocol}//ptr24.com`;
const {mode} = document.currentScript.dataset;
const template = (url) => `\x3Cscript type="text/javascript" ${mode || ''} src="${origin}/${url}">\x3C/script>`;
window.React || document.write(template("3rdparty/[email protected]/react.development.js"));
window.ReactDOM || document.write(template("3rdparty/[email protected]/react-dom.development.js"));
window.pathToRegexp || document.write(template("3rdparty/[email protected]/index.js"));
window.useDebounce || document.write(template("3rdparty/[email protected]/use-debounce.min.js"));
window.classNames || document.write(template("3rdparty/[email protected]/classnames.js"));
window.ReactRedux || document.write(template("3rdparty/[email protected]/react-redux.min.js"));
window.Redux || document.write(template("3rdparty/[email protected]/redux.min.js"));
window.Babel || document.write(template("3rdparty/@babel/[email protected]/babel.min.js"));
window.moment || document.write(template("3rdparty/[email protected]/moment.min.js"));
window.mobx || document.write(template("3rdparty/[email protected]/mobx.umd.development.js"));
window.mobxReactLite || document.write(template("3rdparty/[email protected]/mobxreactlite.umd.development.js"));
window.material || document.write(template("3rdparty/[email protected]/material-ui.min.js"));
window.form || document.write(template("3rdparty/[email protected]/form-tools.js"));
window.router || document.write(template("3rdparty/[email protected]/router-tools.js"));
window.other || document.write(template("3rdparty/[email protected]/other-tools.js"));
window.pickers || document.write(template("3rdparty/[email protected]/pickers-tools.js"));
window.idb || document.write(template("3rdparty/[email protected]/idb-tools.js"));
window.chart || document.write(template("3rdparty/[email protected]/chart-tools.js"));
window.rxjs || document.write(template("3rdparty/[email protected]/rxjs.umd.js"));
})();