Permalink
Browse files

Load all dependencies from CDNs whenever possible.

  • Loading branch information...
1 parent 6a290fb commit 0fe20a3e9e7ec0faa80ddf264cd735f400095710 @shsu committed Mar 1, 2014
@@ -5,13 +5,17 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Cascadia Wireframes</title>
<meta name="viewport" content="width=device-width">
- <link rel="stylesheet" href="/css/bootstrap.css">
+
+ <!-- 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="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular-resource.js"></script>
- <script src="/js/underscore.js"></script>
- <script src="/js/restangular.js"></script>
- <script src="/js/angular-route.js"></script>
<script src="/js/controllers.js"></script>
<script src="app.js"></script>
</head>
@@ -39,6 +43,6 @@
<div class="container">
<div ng-view></div>
</div><!-- .container -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
- <script src="/js/bootstrap.min.js"></script>
+ <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>
Oops, something went wrong.

0 comments on commit 0fe20a3

Please sign in to comment.