Permalink
Browse files

Cleaning commit 55fe7e3 - and use of head.js for asynchronous header …

…tag loading
  • Loading branch information...
1 parent 24606bc commit 3fdc8f7b01b0c8d92b60114b25353c482fb2d72f @tholman committed Jan 30, 2013
Showing with 20 additions and 11 deletions.
  1. +1 −1 .gitignore
  2. +19 −10 index.html
View
@@ -1,2 +1,2 @@
.c9revisions
-.DS_Store
+.DS_Store
View
@@ -13,16 +13,25 @@
<link href="css/fonts.css" rel="stylesheet">
<!-- LIBS -->
- <script src="js/libs/head.min.js"></script>
- <script type="text/javascript">
- head.js("js/libs/fullScreen.js","js/libs/rawinflate.js","js/libs/rawdeflate.js","js/utils.js","js/ui.js","js/editor.js",
- function(){
- //Editor Initialization
- editor.init();
-
- //UI Initialization
- ui.init();
- });
+ <script src="js/libs/head.min.js"></script>
+
+ <!-- JS -->
+ <script type="text/javascript">
+
+ // Load required scripts.
+ head.js( "js/libs/fullScreen.js",
+ "js/libs/rawinflate.js",
+ "js/libs/rawdeflate.js",
+ "js/utils.js",
+ "js/ui.js",
+ "js/editor.js",
+ function(){
+
+ // Initiate ZenPen
+ editor.init();
+ ui.init();
+ }
+ );
</script>
</head>

0 comments on commit 3fdc8f7

Please sign in to comment.