-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fable-core.js generation from TypeScript (#240)
* [WIP: DO NOT MERGE] Adds es2015-mini.ts (es2015.js ported to TypeScript). Initial proof of concept: List and (partial) Seq class only. * Fix build target 'FableCore' on Windows. * Adds TypeScript compilation in build target FableCore. - Renames es2015-mini.ts to fable-core.tsc.ts * Adds Symbol, Choice, Util, TimeSpan, Date and Timer (not strongly typed) to fable-core.tsc.ts. * Add remaining classes to fable-core.tsc.ts * (!) Builds fable-core.js from TypeScript sources. -- Builds are ok. Tests are not. * Latest fixes to fable-core.tsc.ts. All tests passing now. * Expands some test cases. * Adds tests removed from commit ("Expands some test cases." / db0a0e5)
- Loading branch information
1 parent
372222b
commit 42399f8
Showing
10 changed files
with
2,660 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"env": { | ||
"target-umd": { | ||
"presets": [ | ||
"es2015" | ||
], | ||
"plugins": [ | ||
"transform-es2015-modules-umd", | ||
[ | ||
"transform-es2015-classes", | ||
{ | ||
"loose": true | ||
} | ||
] | ||
] | ||
}, | ||
"target-commonjs": { | ||
"presets": [ | ||
"es2015" | ||
], | ||
"plugins": [ | ||
"transform-es2015-modules-commonjs", | ||
[ | ||
"transform-es2015-classes", | ||
{ | ||
"loose": true | ||
} | ||
] | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.