FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TypeScriptSamples/browserify/index.html at master · javascript-pro/TypeScriptSamples · GitHub
javascript-pro
TypeScriptSamples
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
TypeScriptSamples
/
browserify
/
index.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (19 loc) · 608 Bytes
Breadcrumbs
TypeScriptSamples
/
browserify
/
index.html
Copy path
File metadata and controls
22 lines (19 loc) · 608 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
<!DOCTYPE html
>
<
html
lang
="
en
"
xmlns
="
http://www.w3.org/1999/xhtml
"
>
<
head
>
<
meta
charset
="
utf-8
"
/>
<
title
>
TypeScript HTML App
</
title
>
<
link
rel
="
stylesheet
"
href
="
app.css
"
type
="
text/css
"
/>
<
script
src
="
http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.1/require.min.js
"
>
</
script
>
</
head
>
<
body
>
<
h1
>
Browserify/TypeScript sample
</
h1
>
<
div
id
="
content
"
>
</
div
>
<
script
>
require
(
[
"bundle"
]
,
function
(
app
)
{
var
element
=
document
.
getElementById
(
"content"
)
;
app
.
start
(
function
(
s
)
{
element
.
innerText
=
s
;
}
)
;
}
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL