Permalink
Browse files

Remove rendering blocking javascript.

  • Loading branch information...
danriti committed Nov 11, 2013
1 parent 64a1e98 commit 50e10b6a908d71fa8b79b153c36042a5d29efe1b
Showing with 2,444 additions and 7 deletions.
  1. +17 −7 app/index.html
  2. +2,423 −0 app/scripts/all.js
  3. +4 −0 app/scripts/all.min.js
View
@@ -376,12 +376,22 @@ <h1>Wells</h1>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="scripts/jquery.js"></script>
<script src="scripts/bootstrap.js"></script>
<script src="scripts/holder.js"></script>
<!-- JS -->
<script type="text/javascript">
// Add a script element as a child of the body
function downloadJSAtOnload() {
var element = document.createElement("script");
element.src = "scripts/all.min.js";
document.body.appendChild(element);
}
// Check for browser support of event handling capability
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>
<!-- /JS -->
</body>
</html>
Oops, something went wrong.

1 comment on commit 50e10b6

@alicomputer7

This comment has been minimized.

Show comment
Hide comment
@alicomputer7

alicomputer7 Oct 13, 2017

Plz can you help me ?

alicomputer7 commented on 50e10b6 Oct 13, 2017

Plz can you help me ?

Please sign in to comment.