125 строки
7.9 KiB
HTML
125 строки
7.9 KiB
HTML
<!DOCTYPE html>
|
|
<html data-manifest="">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Touch Develop</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
<meta name="format-detection" content="telephone=no">
|
|
<link rel="manifest" href="manifest.json">
|
|
<link rel="apple-touch-icon" href="https://www.touchdevelop.com/doc/touchdevelop57x57.png" />
|
|
<link rel="apple-touch-icon" sizes="72x72" href="https://www.touchdevelop.com/doc/touchdevelop72x72.png" />
|
|
<link rel="apple-touch-icon" sizes="114x114" href="https://www.touchdevelop.com/doc/touchdevelop114x114.png" />
|
|
<link rel="apple-touch-icon" sizes="144x144" href="https://www.touchdevelop.com/doc/touchdevelop144x144.png" />
|
|
<link rel="apple-touch-icon" sizes="200x200" href="https://www.touchdevelop.com/doc/touchdevelop200x200.png" />
|
|
<meta name="Description" content="create apps on iPad, iPhone, Android, PC, Mac"/>
|
|
<meta name="application-name" content="Touch Develop"/>
|
|
<meta name="msapplication-tap-highlight" content="no"/>
|
|
<meta name="msapplication-tooltip" content="create apps on iPad, iPhone, Android, PC, Mac"/>
|
|
<meta name="msapplication-starturl" content="https://www.touchdevelop.com/app/"/>
|
|
<meta name="msapplication-TileColor" content="#008B00"/>
|
|
<meta name="msapplication-TileImage" content="https://www.touchdevelop.com/doc/tilelogo.png"/>
|
|
<meta name="msapplication-task" content="name=Hub;action-uri=/app/;icon-uri=/favicon.ico" />
|
|
<meta name="msapplication-task" content="name=My Scripts;action-uri=/app/#list:installed-scripts;icon-uri=/favicon.ico" />
|
|
<meta name="msapplication-task" content="name=Forum;action-uri=/app/#list:installed-scripts:script:bttt:comments;icon-uri=/favicon.ico" />
|
|
<meta name="msapplication-task" content="name=Notifications;action-uri=/app/#list:installed-scripts:notifications:ajlk:notifications;icon-uri=/favicon.ico" />
|
|
<meta property="og:title" content="Touch Develop"/>
|
|
<meta property="og:site_name" content="Touch Develop"/>
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:description" content="create apps on iPad, iPhone, Android, PC, Mac" />
|
|
<meta property="fb:app_id" content="239441802766379" />
|
|
<meta property="og:image" content="https://www.touchdevelop.com/doc/touchdevelop200x200.png" />
|
|
<meta property="og:url" content="" />
|
|
<meta name="msapplication-badge" content="frequency=30; polling-uri=https://www.touchdevelop.com/api/me/badge"/>
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<link rel="shortcut icon" sizes="196x196" href="https://www.touchdevelop.com/doc/touchdevelop196x196.png" />
|
|
</head>
|
|
<body id="realRoot">
|
|
<div id="root">
|
|
<div id="loading" style="width: 200px; margin: 150px auto 0 auto; text-align: center; color: #0095FF; font-family: sans-serif; ">
|
|
<svg style="width:200px;height:200px;" viewBox='0 0 560 480' preserveAspectRatio='xMinYMin' xmlns='http://www.w3.org/2000/svg' >
|
|
<path fill='#0095FF' d='M 396.586,234.249L 284.566,318.402L 284.566,150.077L 396.586,234.249 Z M 314.585,31.9531C 425.459,28.0533 517.645,115.134 521.618,225.278C 525.049,335.522 438.076,428.204 327.832,431.628C 258.702,433.933 196.856,400.879 159.138,348.896L 179.394,334.162C 212.455,379.699 266.374,408.679 326.994,406.689C 423.623,403.68 499.688,322.771 496.679,226.115C 493.168,129.373 412.788,53.5758 315.576,57.0802L 315.422,57.0802C 265.851,58.5744 222.036,80.4518 190.966,114.531L 172.352,97.6253C 207.744,58.8358 258.099,33.7086 314.585,31.9531 Z M 100.167,94.925C 154.609,94.925 199.342,139.108 199.342,194.1C 199.342,249.091 154.609,293.121 100.167,293.121C 45.7246,293.121 -5.03592e-005,249.225 -5.03592e-005,194.1C -5.03592e-005,138.981 45.7246,94.925 100.167,94.925 Z M 100.167,112.018C 54.911,112.018 17.0931,148.456 17.0931,194.1C 17.0931,232.494 43.8115,264.227 79.2072,273.371L 63.3136,216.165L 60.6467,206.851L 139.378,206.851L 136.336,216.352L 119.25,273.825C 155.335,265.333 182.248,233.235 182.248,194.1C 182.248,148.322 145.422,112.018 100.167,112.018 Z M 100.167,276.028L 102.584,275.993L 118.935,221.74L 80.7484,221.74L 95.7724,275.913L 100.167,276.028 Z M 54.5961,296.967L 143.037,296.967L 143.037,306.073L 54.5961,313.035L 54.5961,296.967 Z M 143.037,312.512L 143.037,324.841L 54.5961,331.803L 54.5961,319.474L 143.037,312.512 Z M 143.037,331.28L 143.037,341.988L 55.6682,348.95L 54.5962,338.242L 143.037,331.28 Z M 57.8191,354.86L 72.2924,353.788L 128.564,348.95L 142.514,347.871L 141.965,349.499L 139.847,354.86L 136.075,362.9C 134.48,365.567 132.336,368.79 129.113,371.484C 125.897,374.151 121.602,376.824 116.784,378.968C 111.973,381.112 106.606,382.191 102.311,382.741C 97.4999,383.263 93.7275,382.741 89.9818,382.191C 86.2429,381.112 81.9479,380.04 78.7316,377.896C 75.5086,376.301 72.2924,374.151 69.6188,372.006C 66.9252,369.862 64.781,367.189 62.6302,363.972C 60.486,361.272 58.8912,358.605 57.8191,354.86 Z'></path>
|
|
</svg>
|
|
<div id="loadingDot" style="font-size: 18px;margin-top:-10px">we need JavaScript enabled</div>
|
|
<div id='progressContainer' style='margin-top:20px;height:3px;width:200px; background:#eee;'>
|
|
<div id='progressBar' style='height:3px; width:0px; background:#0095FF'></div>
|
|
</div>
|
|
<div style="margin-top: 1em; font-size:12px;" id="statusMsg"></div>
|
|
</div>
|
|
<div id='scriptHolder'></div>
|
|
<script type="text/javascript">
|
|
// these are used in the included JS files
|
|
var browsersUrl = "browsers.html";
|
|
var errorUrl = "error.html";
|
|
var mainJsName = "./main.js";
|
|
var betaFriendlyId = "";
|
|
var localProxy = "";
|
|
var rootUrl = "https://www.touchdevelop.com";
|
|
if (/debugLocal/.test(document.URL)) rootUrl = "http://localhost:7777";
|
|
var TDev;
|
|
|
|
(function() {
|
|
var e = document.getElementById("loadingDot");
|
|
if (e) {
|
|
e.innerHTML = 'just a moment';
|
|
}
|
|
}());
|
|
(function() {
|
|
var ratio = 0.97
|
|
var curr = 195 / (1 / (1 - ratio))
|
|
var sum = 0
|
|
function updatePbar() {
|
|
var pbar = document.getElementById("progressBar");
|
|
if (!pbar) return;
|
|
sum += curr
|
|
curr *= ratio
|
|
pbar.style.width = sum + "px"
|
|
setTimeout(updatePbar, 200)
|
|
}
|
|
updatePbar();
|
|
}());
|
|
function statusMsg(m) {
|
|
if (/debugMsg/.test(document.URL)) {
|
|
var e = document.getElementById("statusMsg");
|
|
if (e) e.innerHTML = m;
|
|
}
|
|
}
|
|
var TDev;
|
|
statusMsg("js initialized");
|
|
if (window.localStorage &&
|
|
window.localStorage.always_beta === "yes" &&
|
|
!betaFriendlyId &&
|
|
window.location.pathname === "/app/")
|
|
{
|
|
window.location.pathname = "/app/beta";
|
|
}
|
|
</script>
|
|
<style type="text/css">
|
|
@import url("./default.css");
|
|
@import url("./editor.css");
|
|
</style>
|
|
<script type="text/javascript"> statusMsg("css imported"); </script>
|
|
<script src="./browser.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
statusMsg("browser detector loaded");
|
|
TDev.Browser.check(true);
|
|
statusMsg("browser detector finished");
|
|
</script>
|
|
<script id='mainScript' src="./main.js" type="text/javascript"></script>
|
|
</div>
|
|
<!--
|
|
<script type="text/javascript">
|
|
var appInsights = window.appInsights || function (config) {
|
|
function s(config) { t[config] = function () { var i = arguments; t.queue.push(function () { t[config].apply(t, i) }) } } var t = { config: config }, r = document, f = window, e = "script", o = r.createElement(e), i, u; for (o.src = config.url || "//az416426.vo.msecnd.net/scripts/a/ai.0.js", r.getElementsByTagName(e)[0].parentNode.appendChild(o), t.cookie = r.cookie, t.queue = [], i = ["Event", "Exception", "Metric", "PageView", "Trace"]; i.length;) s("track" + i.pop()); return config.disableExceptionTracking || (i = "onerror", s("_" + i), u = f[i], f[i] = function (config, r, f, e, o) { var s = u && u(config, r, f, e, o); return s !== !0 && t["_" + i](config, r, f, e, o), s }), t
|
|
}({
|
|
instrumentationKey: "23991c6b-dffd-49d6-ae52-67fc69233ff1"
|
|
});
|
|
window.tdAppInsights = appInsights;
|
|
tdAppInsights.trackPageView();
|
|
</script>
|
|
-->
|
|
</body>
|
|
</html>
|