aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-16 11:09:24 +0800
committerFabio Berger <me@fabioberger.com>2018-02-16 11:09:24 +0800
commitb610b7c1923dcc56883c5167393122ceaed26708 (patch)
treeb0eb8e8a9464cf8a736b4c656ad87be6d9520099 /packages
parent07d00cc515e0f9825b81595386b358593b7a3d6f (diff)
downloaddexon-sol-tools-b610b7c1923dcc56883c5167393122ceaed26708.tar
dexon-sol-tools-b610b7c1923dcc56883c5167393122ceaed26708.tar.gz
dexon-sol-tools-b610b7c1923dcc56883c5167393122ceaed26708.tar.bz2
dexon-sol-tools-b610b7c1923dcc56883c5167393122ceaed26708.tar.lz
dexon-sol-tools-b610b7c1923dcc56883c5167393122ceaed26708.tar.xz
dexon-sol-tools-b610b7c1923dcc56883c5167393122ceaed26708.tar.zst
dexon-sol-tools-b610b7c1923dcc56883c5167393122ceaed26708.zip
Prettier fixes
Diffstat (limited to 'packages')
-rw-r--r--packages/website/public/index.html110
1 files changed, 80 insertions, 30 deletions
diff --git a/packages/website/public/index.html b/packages/website/public/index.html
index b40ee62fa..d7006c518 100644
--- a/packages/website/public/index.html
+++ b/packages/website/public/index.html
@@ -26,48 +26,98 @@
<!-- Facebook SDK -->
<div id="fb-root"></div>
<script>
- (function (d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8&appId=1687545238205192";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));
- </script>
+ (function(d, s, id) {
+ var js,
+ fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s);
+ js.id = id;
+ js.src = '//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8&appId=1687545238205192';
+ fjs.parentNode.insertBefore(js, fjs);
+})(document, 'script', 'facebook-jssdk');
+</script>
<div id="app"></div>
<!-- End Facebook SDK -->
<!-- Twitter SDK -->
<script>
- window.twttr = (function (d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {};
- if (d.getElementById(id)) return t;
- js = d.createElement(s);
- js.id = id;
- js.src = "https://platform.twitter.com/widgets.js";
- fjs.parentNode.insertBefore(js, fjs);
+ window.twttr = (function(d, s, id) {
+ var js,
+ fjs = d.getElementsByTagName(s)[0],
+ t = window.twttr || {};
+ if (d.getElementById(id)) return t;
+ js = d.createElement(s);
+ js.id = id;
+ js.src = 'https://platform.twitter.com/widgets.js';
+ fjs.parentNode.insertBefore(js, fjs);
- t._e = [];
- t.ready = function (f) {
- t._e.push(f);
- };
- return t;
- }(document, "script", "twitter-wjs"));
- </script>
+ t._e = [];
+ t.ready = function(f) {
+ t._e.push(f);
+ };
+ return t;
+})(document, 'script', 'twitter-wjs');
+</script>
<!-- End Twitter SDK -->
<!-- Segment.io -->
<script>
- !function () {
- var analytics = window.analytics = window.analytics || []; if (!analytics.initialize) if (analytics.invoked) window.console && console.error && console.error("Segment snippet included twice."); else {
- analytics.invoked = !0; analytics.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset", "group", "track", "ready", "alias", "debug", "page", "once", "off", "on"]; analytics.factory = function (t) { return function () { var e = Array.prototype.slice.call(arguments); e.unshift(t); analytics.push(e); return analytics } }; for (var t = 0; t < analytics.methods.length; t++) { var e = analytics.methods[t]; analytics[e] = analytics.factory(e) } analytics.load = function (t) { var e = document.createElement("script"); e.type = "text/javascript"; e.async = !0; e.src = ("https:" === document.location.protocol ? "https://" : "http://") + "cdn.segment.com/analytics.js/v1/" + t + "/analytics.min.js"; var n = document.getElementsByTagName("script")[0]; n.parentNode.insertBefore(e, n) }; analytics.SNIPPET_VERSION = "4.0.0";
- analytics.load("T6jtT2F2iMrw9FDJ8exE9Uu1mLN5qd8n");
- analytics.page();
+ !(function() {
+ var analytics = (window.analytics = window.analytics || []);
+ if (!analytics.initialize)
+ if (analytics.invoked) window.console && console.error && console.error('Segment snippet included twice.');
+ else {
+ analytics.invoked = !0;
+ analytics.methods = [
+ 'trackSubmit',
+ 'trackClick',
+ 'trackLink',
+ 'trackForm',
+ 'pageview',
+ 'identify',
+ 'reset',
+ 'group',
+ 'track',
+ 'ready',
+ 'alias',
+ 'debug',
+ 'page',
+ 'once',
+ 'off',
+ 'on',
+ ];
+ analytics.factory = function(t) {
+ return function() {
+ var e = Array.prototype.slice.call(arguments);
+ e.unshift(t);
+ analytics.push(e);
+ return analytics;
+ };
+ };
+ for (var t = 0; t < analytics.methods.length; t++) {
+ var e = analytics.methods[t];
+ analytics[e] = analytics.factory(e);
}
- }();
- </script>
+ analytics.load = function(t) {
+ var e = document.createElement('script');
+ e.type = 'text/javascript';
+ e.async = !0;
+ e.src =
+ ('https:' === document.location.protocol ? 'https://' : 'http://') +
+ 'cdn.segment.com/analytics.js/v1/' +
+ t +
+ '/analytics.min.js';
+ var n = document.getElementsByTagName('script')[0];
+ n.parentNode.insertBefore(e, n);
+ };
+ analytics.SNIPPET_VERSION = '4.0.0';
+ analytics.load('T6jtT2F2iMrw9FDJ8exE9Uu1mLN5qd8n');
+ analytics.page();
+ }
+})();
+</script>
<!-- End Segment.io -->
<!-- Main -->
<script type="text/javascript" crossorigin="anonymous" src="/bundle.js" charset="utf-8"></script>
</body>
-</html> \ No newline at end of file
+</html>