Add ES2015 runtime transpilation sample

This commit is contained in:
SteveSandersonMS
2015-11-02 11:15:34 -08:00
parent f693bd60e3
commit 60d77e7b92
19 changed files with 233 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,5 @@
export default class Greeting {
getMessage() {
return 'Hello from the ES2015 class';
}
}

View File

@@ -0,0 +1,3 @@
import Greeting from './greeting.js';
console.log(new Greeting().getMessage());

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/>
</handlers>
<httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false"/>
</system.webServer>
</configuration>