diff --git a/Web.Debug.config b/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Web.Release.config b/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Web.config b/Web.config new file mode 100644 index 0000000..3c1167e --- /dev/null +++ b/Web.config @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/app.css b/app.css new file mode 100644 index 0000000..8561eab --- /dev/null +++ b/app.css @@ -0,0 +1,7 @@ +body { + font-family: 'Segoe UI', sans-serif; +} + +span { + font-style: italic; +} diff --git a/app.js b/app.js new file mode 100644 index 0000000..9bd7e3d --- /dev/null +++ b/app.js @@ -0,0 +1,23 @@ +var Greeter = /** @class */ (function () { + function Greeter(element) { + this.element = element; + this.element.innerHTML += "The time is: "; + this.span = document.createElement('span'); + this.element.appendChild(this.span); + this.span.innerText = new Date().toUTCString(); + } + Greeter.prototype.start = function () { + var _this = this; + this.timerToken = setInterval(function () { return _this.span.innerHTML = new Date().toUTCString(); }, 500); + }; + Greeter.prototype.stop = function () { + clearTimeout(this.timerToken); + }; + return Greeter; +}()); +window.onload = function () { + var el = document.getElementById('content'); + var greeter = new Greeter(el); + greeter.start(); +}; +//# sourceMappingURL=app.js.map \ No newline at end of file diff --git a/app.js.map b/app.js.map new file mode 100644 index 0000000..3910260 --- /dev/null +++ b/app.js.map @@ -0,0 +1 @@ +{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":"AAAA;IAKI,iBAAY,OAAoB;QAC5B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,eAAe,CAAC;QAC1C,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IACnD,CAAC;IAED,uBAAK,GAAL;QAAA,iBAEC;QADG,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,cAAM,OAAA,KAAI,CAAC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAA9C,CAA8C,EAAE,GAAG,CAAC,CAAC;IAC7F,CAAC;IAED,sBAAI,GAAJ;QACI,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAClC,CAAC;IAEL,cAAC;AAAD,CAAC,AArBD,IAqBC;AAED,MAAM,CAAC,MAAM,GAAG;IACZ,IAAI,EAAE,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,OAAO,GAAG,IAAI,OAAO,CAAC,EAAE,CAAC,CAAC;IAC9B,OAAO,CAAC,KAAK,EAAE,CAAC;AACpB,CAAC,CAAC"} \ No newline at end of file diff --git a/app.ts b/app.ts new file mode 100644 index 0000000..be41208 --- /dev/null +++ b/app.ts @@ -0,0 +1,28 @@ +class Greeter { + element: HTMLElement; + span: HTMLElement; + timerToken: number; + + constructor(element: HTMLElement) { + this.element = element; + this.element.innerHTML += "The time is: "; + this.span = document.createElement('span'); + this.element.appendChild(this.span); + this.span.innerText = new Date().toUTCString(); + } + + start() { + this.timerToken = setInterval(() => this.span.innerHTML = new Date().toUTCString(), 500); + } + + stop() { + clearTimeout(this.timerToken); + } + +} + +window.onload = () => { + var el = document.getElementById('content'); + var greeter = new Greeter(el); + greeter.start(); +}; \ No newline at end of file diff --git a/exiftester.csproj b/exiftester.csproj new file mode 100644 index 0000000..0dbc803 --- /dev/null +++ b/exiftester.csproj @@ -0,0 +1,119 @@ + + + + Debug + AnyCPU + + + 2.0 + {2574F603-4B6C-4A30-BFDD-E3BC09EEDFDF} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + TypeScriptHTMLApp1 + TypeScriptHTMLApp1 + v4.5.2 + true + + + + + + + + 3.1 + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + ES5 + None + + True + False + False + app.js + + True + True + True + + + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + ES5 + None + True + False + CommonJS + True + + + False + True + False + + + + + + Web.config + + + Web.config + + + + + + + + + + + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + + True + True + 10202 + / + http://localhost:10202/ + False + False + + + False + + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..08c3dc9 --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + + + + TypeScript HTML App + + + + +

TypeScript HTML App

+ +
+ + + + \ No newline at end of file diff --git a/pic/pic1.jpg b/pic/pic1.jpg new file mode 100644 index 0000000..562b88c Binary files /dev/null and b/pic/pic1.jpg differ diff --git a/pic/pic2.jpg b/pic/pic2.jpg new file mode 100644 index 0000000..5e631a6 Binary files /dev/null and b/pic/pic2.jpg differ