FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TypeScriptSamples/systemjs/index.html at jspmUpdate · devsatya/TypeScriptSamples · GitHub
devsatya
TypeScriptSamples
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
TypeScriptSamples
/
systemjs
/
index.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (23 loc) · 708 Bytes
Breadcrumbs
TypeScriptSamples
/
systemjs
/
index.html
Copy path
File metadata and controls
23 lines (23 loc) · 708 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<
html
>
<
head
>
<
title
>
SystemJS/TypeScript Sample
</
title
>
<
link
rel
="
stylesheet
"
href
="
app.css
"
type
="
text/css
"
/>
<
script
src
="
node_modules/systemjs/dist/system.js
"
>
</
script
>
</
head
>
<
body
>
<
script
>
System
.
transpiler
=
'typescript'
;
System
.
meta
[
'typescript'
]
=
{
format
:
'global'
,
exports
:
'ts'
}
;
System
.
paths
=
{
'*'
:
'*.ts'
,
'typescript'
:
'node_modules/typescript/bin/typescript.js'
}
System
.
import
(
'app'
)
.
then
(
function
(
m
)
{
var
element
=
document
.
getElementById
(
"content"
)
;
m
.
main
(
element
)
;
}
)
;
</
script
>
<
h1
>
SystemJS/TypeScript Sample
</
h1
>
<
div
id
="
content
"
>
</
div
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL