summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2016-11-02 17:14:43 -0400
committerGraeme Yeates <yeatesgraeme@gmail.com>2016-11-02 17:14:43 -0400
commit990bcaad7873c97bb92f4c4c56d7a004a0f9bd37 (patch)
treeafc6340474937ab4b22a77bc98fb22948fa8d331
parentc6ecbdea6975ed20e60a04d838b10f71e572d490 (diff)
downloadasync-optimize-page-load.tar.gz
Optimize asset loading for docsoptimize-page-load
-rw-r--r--support/jsdoc/theme/tmpl/layout.tmpl23
1 files changed, 13 insertions, 10 deletions
diff --git a/support/jsdoc/theme/tmpl/layout.tmpl b/support/jsdoc/theme/tmpl/layout.tmpl
index 983562e..c94d935 100644
--- a/support/jsdoc/theme/tmpl/layout.tmpl
+++ b/support/jsdoc/theme/tmpl/layout.tmpl
@@ -8,21 +8,14 @@
<link rel="icon" href="favicon.ico?v=2" />
<link src="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css">
- <script src="scripts/async.js"></script>
- <script src="scripts/prettify/prettify.js"></script>
- <script src="scripts/prettify/lang-css.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
- <link type="text/css" rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
+ <link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/ionicons/2.0.1/css/ionicons.min.css">
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
-
- <script src="https://cdn.jsdelivr.net/jquery/2.2.4/jquery.min.js"></script>
- <script src="https://cdn.jsdelivr.net/bootstrap/3.3.6/js/bootstrap.min.js"></script>
- <script src="https://cdn.jsdelivr.net/typeahead.js/0.11.1/typeahead.bundle.min.js"></script>
</head>
<body>
@@ -85,8 +78,18 @@
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc <?js= env.version.number ?></a><?js if(env.conf.templates && env.conf.templates.default && env.conf.templates.default.includeDate !== false) { ?> on <?js= (new Date()) ?><?js } ?> using the Minami theme.
</footer>
+
+<script src="scripts/prettify/prettify.js"></script>
+<script src="scripts/prettify/lang-css.js"></script>
+
+<script src="https://cdn.jsdelivr.net/jquery/2.2.4/jquery.min.js"></script>
+<script src="https://cdn.jsdelivr.net/bootstrap/3.3.6/js/bootstrap.min.js"></script>
+<script src="https://cdn.jsdelivr.net/typeahead.js/0.11.1/typeahead.bundle.min.js"></script>
+
<script>prettyPrint();</script>
-<script src="scripts/linenumber.js"></script>
-<script src="scripts/jsdoc-custom.js"></script>
+<script src="scripts/linenumber.js" async></script>
+<script src="scripts/jsdoc-custom.js" async></script>
+
+<script src="scripts/async.js" async></script>
</body>
</html>