Skip to content

Commit 3fdc8f7

Browse files
committed
Cleaning commit 55fe7e3 - and use of head.js for asynchronous header tag loading
1 parent 24606bc commit 3fdc8f7

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.c9revisions
2-
.DS_Store
2+
.DS_Store

Diff for: index.html

+19-10
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,25 @@
1313
<link href="css/fonts.css" rel="stylesheet">
1414

1515
<!-- LIBS -->
16-
<script src="js/libs/head.min.js"></script>
17-
<script type="text/javascript">
18-
head.js("js/libs/fullScreen.js","js/libs/rawinflate.js","js/libs/rawdeflate.js","js/utils.js","js/ui.js","js/editor.js",
19-
function(){
20-
//Editor Initialization
21-
editor.init();
22-
23-
//UI Initialization
24-
ui.init();
25-
});
16+
<script src="js/libs/head.min.js"></script>
17+
18+
<!-- JS -->
19+
<script type="text/javascript">
20+
21+
// Load required scripts.
22+
head.js( "js/libs/fullScreen.js",
23+
"js/libs/rawinflate.js",
24+
"js/libs/rawdeflate.js",
25+
"js/utils.js",
26+
"js/ui.js",
27+
"js/editor.js",
28+
function(){
29+
30+
// Initiate ZenPen
31+
editor.init();
32+
ui.init();
33+
}
34+
);
2635
</script>
2736

2837
</head>

0 commit comments

Comments
 (0)