FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScript-Templates/index.html at master · nikgautamgithub/JavaScript-Templates · GitHub
nikgautamgithub
/
JavaScript-Templates
Public
forked from
blueimp/JavaScript-Templates
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScript-Templates
/
index.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
107 lines (107 loc) · 3.3 KB
Breadcrumbs
JavaScript-Templates
/
index.html
Copy path
File metadata and controls
107 lines (107 loc) · 3.3 KB
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html
>
<!--
/*
* JavaScript Templates Demo
* https://github.com/blueimp/JavaScript-Templates
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
-->
<
html
lang
="
en
"
>
<
head
>
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<![endif]-->
<
meta
charset
="
utf-8
"
/>
<
title
>
JavaScript Templates Demo
</
title
>
<
meta
name
="
description
"
content
="
1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like Node.js, module loaders like RequireJS, Browserify or webpack and all web browsers.
"
/>
<
meta
name
="
viewport
"
content
="
width=device-width, initial-scale=1.0
"
/>
<
link
rel
="
stylesheet
"
href
="
css/demo.css
"
/>
</
head
>
<
body
>
<
h1
>
JavaScript Templates Demo
</
h1
>
<
p
>
<
strong
>
1KB
</
strong
>
lightweight, fast & powerful
<
a
href
="
https://developer.mozilla.org/en/JavaScript/
"
>
JavaScript
</
a
>
templating engine with zero dependencies.
<
br
/>
Compatible with server-side environments like
<
a
href
="
https://nodejs.org/
"
>
Node.js
</
a
>
, module loaders like
<
a
href
="
https://requirejs.org/
"
>
RequireJS
</
a
>
or
<
a
href
="
https://webpack.js.org/
"
>
webpack
</
a
>
and all web browsers.
</
p
>
<
ul
id
="
navigation
"
>
<
li
>
<
a
href
="
https://github.com/blueimp/JavaScript-Templates/releases
"
>
Download
</
a
>
</
li
>
<
li
>
<
a
href
="
https://github.com/blueimp/JavaScript-Templates
"
>
Source Code
</
a
>
</
li
>
<
li
>
<
a
href
="
https://github.com/blueimp/JavaScript-Templates/blob/master/README.md
"
>
Documentation
</
a
>
</
li
>
<
li
>
<
a
href
="
test/
"
>
Test
</
a
>
</
li
>
<
li
>
<
a
href
="
https://blueimp.net
"
>
© Sebastian Tschan
</
a
>
</
li
>
</
ul
>
<
form
>
<
p
>
<
label
for
="
template
"
>
Template
</
label
>
<
textarea
rows
="
12
"
id
="
template
"
class
="
code
"
>
</
textarea
>
</
p
>
<
p
>
<
label
for
="
data
"
>
Data (JSON)
</
label
>
<
textarea
rows
="
14
"
id
="
data
"
class
="
code
"
>
</
textarea
>
</
p
>
<
p
>
<
button
type
="
submit
"
id
="
render
"
>
Render
</
button
>
<
button
type
="
reset
"
id
="
reset
"
>
Reset
</
button
>
</
p
>
<
h2
>
Result
</
h2
>
<
div
id
="
result
"
class
="
result
"
>
</
div
>
</
form
>
<
script
type
="
text/x-tmpl
"
id
="
tmpl-demo
"
>
<
h3
>
{
%=
o
.
title
%
}
</
h3
>
<
p
>
Released
under
the
<
a
href
=
"{%=o.license.url%}"
>
{
%=
o
.
license
.
name
%
}
</
a
>
.
</
p
>
<
h4
>
Features
</
h4
>
<
ul
>
{
%
for
(
var
i
=
0
;
i
<
o
.
features
.
length
;
i
++
)
{
%
}
<
li
>
{
%=
o
.
features
[
i
]
%
}
</
li
>
{
%
}
%
}
</
ul
>
</
script
>
<
script
type
="
text/x-tmpl
"
id
="
tmpl-data
"
>
{
"title"
:
"JavaScript Templates"
,
"license"
:
{
"name"
:
"MIT license"
,
"url"
:
"https://opensource.org/licenses/MIT"
}
,
"features"
:
[
"lightweight & fast"
,
"powerful"
,
"zero dependencies"
]
}
</
script
>
<
script
type
="
text/x-tmpl
"
id
="
tmpl-error
"
>
<
h5
>
{
%=
o
.
title
%
}
</
h5
>
<
pre
>
{
%=
o
.
error
.
toString
(
)
%
}
</
pre
>
</
script
>
<
script
src
="
js/tmpl.js
"
>
</
script
>
<
script
src
="
js/demo/demo.js
"
>
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL