diff --git a/dist/_scratch/Hello.d.ts b/dist/_scratch/Hello.d.ts index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bfbcb256e8bc6f8e511b38a92bacd0d1e79c807b 100644 --- a/dist/_scratch/Hello.d.ts +++ b/dist/_scratch/Hello.d.ts @@ -0,0 +1,12 @@ +/// <reference types="react" /> +/** + * Created by gavorhes on 9/22/2016. + */ +import * as React from "react"; +export interface HelloProps { + compiler: string; + framework: string; +} +export declare class Hello extends React.Component<HelloProps, {}> { + render(): JSX.Element; +} diff --git a/dist/_scratch/Hello.js b/dist/_scratch/Hello.js deleted file mode 100644 index 4771b6ad4973c294c38b84486c086aa07a57af00..0000000000000000000000000000000000000000 --- a/dist/_scratch/Hello.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Created by gavorhes on 9/22/2016. - */ -// import * as React from "react"; -// -// export interface HelloProps { compiler: string; framework: string; } -// -// export class Hello extends React.Component<HelloProps, {}> { -// render() { -// return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>; -// } -// } -//# sourceMappingURL=Hello.js.map \ No newline at end of file diff --git a/dist/_scratch/Hello.js.map b/dist/_scratch/Hello.js.map deleted file mode 100644 index 335eb23fac5ba6b09fe8b590793053cfbf613bc2..0000000000000000000000000000000000000000 --- a/dist/_scratch/Hello.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Hello.js","sourceRoot":"","sources":["../../src/_scratch/Hello.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,kCAAkC;AAClC,EAAE;AACF,uEAAuE;AACvE,EAAE;AACF,+DAA+D;AAC/D,iBAAiB;AACjB,wFAAwF;AACxF,QAAQ;AACR,IAAI","sourcesContent":["/**\r\n * Created by gavorhes on 9/22/2016.\r\n */\r\n// import * as React from \"react\";\r\n//\r\n// export interface HelloProps { compiler: string; framework: string; }\r\n//\r\n// export class Hello extends React.Component<HelloProps, {}> {\r\n// render() {\r\n// return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>;\r\n// }\r\n// }"]} \ No newline at end of file diff --git a/dist/_scratch/Hello.jsx b/dist/_scratch/Hello.jsx new file mode 100644 index 0000000000000000000000000000000000000000..5ecd9e10ea6e192c45799b2ebd4d6a84e8bca102 --- /dev/null +++ b/dist/_scratch/Hello.jsx @@ -0,0 +1,28 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Created by gavorhes on 9/22/2016. + */ +var React = require("react"); +var Hello = (function (_super) { + __extends(Hello, _super); + function Hello() { + return _super !== null && _super.apply(this, arguments) || this; + } + Hello.prototype.render = function () { + return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>; + }; + return Hello; +}(React.Component)); +exports.Hello = Hello; +//# sourceMappingURL=Hello.jsx.map \ No newline at end of file diff --git a/dist/_scratch/Hello.jsx.map b/dist/_scratch/Hello.jsx.map new file mode 100644 index 0000000000000000000000000000000000000000..f2225af7185b2eb405e92aacdc46df15e0d74fc1 --- /dev/null +++ b/dist/_scratch/Hello.jsx.map @@ -0,0 +1 @@ +{"version":3,"file":"Hello.jsx","sourceRoot":"","sources":["../../src/_scratch/Hello.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;GAEG;AACH,6BAA+B;AAI/B;IAA2B,yBAA+B;IAA1D;;IAIA,CAAC;IAHG,sBAAM,GAAN;QACI,MAAM,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAE,KAAI,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IACL,YAAC;AAAD,CAAC,AAJD,CAA2B,KAAK,CAAC,SAAS,GAIzC;AAJY,sBAAK","sourcesContent":["/**\r\n * Created by gavorhes on 9/22/2016.\r\n */\r\nimport * as React from \"react\";\r\n\r\nexport interface HelloProps { compiler: string; framework: string; }\r\n\r\nexport class Hello extends React.Component<HelloProps, {}> {\r\n render() {\r\n return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>;\r\n }\r\n}"]} \ No newline at end of file diff --git a/dist/_scratch/_testimport.js b/dist/_scratch/_testimport.js index b4fd74068dbb890c31d6c5d5b22a4800f4343643..835d69e8520d8db3767f7914ce96d48101be1794 100644 --- a/dist/_scratch/_testimport.js +++ b/dist/_scratch/_testimport.js @@ -1,5 +1,4 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -var ol = require("custom-ol"); -console.log(ol.animation.bounce({ duration: 10, resolution: 30, start: 4, easing: function (t) { return 5; } })); +// console.log(ol.animation.bounce({duration: 10, resolution: 30, start: 4, easing: (t) => {return 5}})); //# sourceMappingURL=_testimport.js.map \ No newline at end of file diff --git a/dist/_scratch/_testimport.js.map b/dist/_scratch/_testimport.js.map index d55617ae64ae6b3cfa78e03eed64a752f93c75af..8473847f3b6c2433941358f74aaa352b95bb200a 100644 --- a/dist/_scratch/_testimport.js.map +++ b/dist/_scratch/_testimport.js.map @@ -1 +1 @@ -{"version":3,"file":"_testimport.js","sourceRoot":"","sources":["../../src/_scratch/_testimport.ts"],"names":[],"mappings":";;AACA,8BAAiC;AACjC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,UAAC,CAAC,IAAM,MAAM,CAAC,CAAC,CAAA,CAAA,CAAC,EAAC,CAAC,CAAC,CAAC","sourcesContent":["\r\nimport ol = require('custom-ol');\r\nconsole.log(ol.animation.bounce({duration: 10, resolution: 30, start: 4, easing: (t) => {return 5}}));"]} \ No newline at end of file +{"version":3,"file":"_testimport.js","sourceRoot":"","sources":["../../src/_scratch/_testimport.ts"],"names":[],"mappings":";;AAGA,yGAAyG","sourcesContent":["\r\nimport ol = require('custom-ol');\r\n\r\n// console.log(ol.animation.bounce({duration: 10, resolution: 30, start: 4, easing: (t) => {return 5}}));"]} \ No newline at end of file diff --git a/src/_scratch/Hello.tsx b/src/_scratch/Hello.tsx index 2f3c31261116f8ab817f23e7e4629532b2f59b9e..ca0cd0ab0687c3acf4c2700d8151983cc0a54f07 100644 --- a/src/_scratch/Hello.tsx +++ b/src/_scratch/Hello.tsx @@ -1,12 +1,12 @@ /** * Created by gavorhes on 9/22/2016. */ -// import * as React from "react"; -// -// export interface HelloProps { compiler: string; framework: string; } -// -// export class Hello extends React.Component<HelloProps, {}> { -// render() { -// return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>; -// } -// } \ No newline at end of file +import * as React from "react"; + +export interface HelloProps { compiler: string; framework: string; } + +export class Hello extends React.Component<HelloProps, {}> { + render() { + return <h1>Hello from {this.props.compiler} and {this.props.framework}!</h1>; + } +} \ No newline at end of file diff --git a/src/_scratch/_testimport.ts b/src/_scratch/_testimport.ts index 35a3ea0d812acd8b3702f487d964a3f770fe5bc0..2bb43b74ca04caa8e2ad3f9051e8f73be34cc4cd 100644 --- a/src/_scratch/_testimport.ts +++ b/src/_scratch/_testimport.ts @@ -1,3 +1,4 @@ import ol = require('custom-ol'); -console.log(ol.animation.bounce({duration: 10, resolution: 30, start: 4, easing: (t) => {return 5}})); \ No newline at end of file + +// console.log(ol.animation.bounce({duration: 10, resolution: 30, start: 4, easing: (t) => {return 5}})); \ No newline at end of file