Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Load all javascript dependencies at bottom of page to avoid blocking …

…the HTML from loading.
  • Loading branch information...
commit f6c4bed247661db0fc531a5ebbcf80de27fa8f9a 1 parent 0fe20a3
Steven Hsu authored
25 src/main/webapp/index.html
View
@@ -6,18 +6,9 @@
<title>Cascadia Wireframes</title>
<meta name="viewport" content="width=device-width">
- <!-- Begin Loading Dependencies From CDNs -->
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-resource.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-route.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/restangular/1.3.1/restangular.js"></script>
- <!-- End Loading Dependencies From CDNs -->
<link rel="stylesheet" href="/css/app.css">
- <script src="/js/controllers.js"></script>
- <script src="app.js"></script>
</head>
<body class="body">
<nav class="navbar navbar-inverse bg-primary" role="navigation">
@@ -43,6 +34,16 @@
<div class="container">
<div ng-view></div>
</div><!-- .container -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <script src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
-</body>
+</body>
+
+<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
+<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-resource.js"></script>
+<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-route.min.js"></script>
+<script src="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/restangular/1.3.1/restangular.js"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
+
+<script src="js/controllers.js"></script>
+<script src="js/app.js"></script>
+</html>
0  src/main/webapp/app.js → src/main/webapp/js/app.js
View
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.