Permalink
Browse files

using cdnjs instead of local vendor javascripts

  • Loading branch information...
Kyle Poole
Kyle Poole committed Mar 31, 2012
1 parent 188f52d commit a82bca4b1d1f12d92eb289a77645d6b9e93c4528
Showing with 12 additions and 51 deletions.
  1. +0 −38 public/javascripts/vendor/backbone-min.js
  2. +0 −4 public/javascripts/vendor/d3.v2.min.js
  3. +6 −1 views/index.jade
  4. +6 −8 views/timeline.jade

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,4 +1,9 @@
-script(src= '/javascripts/vendor/d3.v2.min.js')
+script(src='http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.1/underscore-min.js')
+script(src='http://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js')
+script(src='http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min.js')
+script(src='http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js')
+
+script(src='http://cdnjs.cloudflare.com/ajax/libs/d3/2.8.1/d3.v2.min.js')
script(src= '/javascripts/graphing.js')
h1= 'Hello'
View
@@ -1,8 +1,6 @@
-script(src= '/javascripts/graphing.js')
-
-//- h1= title
-//- - each profile in profiles
- //- div.profile
- //- div.date= profile.date
- //- div.id
- //- p #{profile.id}
+h1= title
+- each profile in profiles
+ div.profile
+ div.date= profile.date
+ div.id
+ p #{profile.id}

0 comments on commit a82bca4

Please sign in to comment.