mirror of
https://github.com/HabitRPG/habitica.git
synced 2026-04-23 13:49:22 -05:00
remove old code
This commit is contained in:
@@ -15,43 +15,5 @@
|
||||
|
||||
<script async type='text/javascript' src='https://static-na.payments-amazon.com/OffAmazonPayments/us/sandbox/js/Widgets.js'></script>
|
||||
<script async type='text/javascript' src="https://checkout.stripe.com/v2/checkout.js"></script>
|
||||
<script>
|
||||
// Amplitude
|
||||
// var r = window.amplitude || {};
|
||||
// r._q = [];
|
||||
// function a(window) {r[window] = function() {r._q.push([window].concat(Array.prototype.slice.call(arguments, 0)));}}
|
||||
// var i = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "setGlobalUserProperties"];
|
||||
// for (var o = 0; o < i.length; o++) {a(i[o])}
|
||||
// window.amplitude = r;
|
||||
// amplitude.init(window.env.AMPLITUDE_KEY, user ? user._id : undefined);
|
||||
//
|
||||
// // Google Analytics (aka Universal Analytics)
|
||||
// window['GoogleAnalyticsObject'] = 'ga';
|
||||
// window['ga'] = window['ga'] || function() {
|
||||
// (window['ga'].q = window['ga'].q || []).push(arguments)
|
||||
// }, window['ga'].l = 1 * new Date();
|
||||
// ga('create', window.env.GA_ID, user ? {'userId': user._id} : undefined);
|
||||
//
|
||||
// function loadScripts() {
|
||||
// setTimeout(function() {
|
||||
// // Amplitude
|
||||
// var n = document.createElement("script");
|
||||
// var s = document.getElementsByTagName("script")[0];
|
||||
// n.type = "text/javascript";
|
||||
// n.async = true;
|
||||
// n.src = "https://d24n15hnbwhuhn.cloudfront.net/libs/amplitude-2.2.0-min.gz.js";
|
||||
// s.parentNode.insertBefore(n, s);
|
||||
//
|
||||
// // Google Analytics
|
||||
// var a = document.createElement('script');
|
||||
// var m = document.getElementsByTagName('script')[0];
|
||||
// a.async = 1;
|
||||
// a.src = '//www.google-analytics.com/analytics.js';
|
||||
// m.parentNode.insertBefore(a, m);
|
||||
// });
|
||||
|
||||
// if (window.env.NODE_ENV === 'production') loadScripts();
|
||||
//}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user