You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2014/07/21 15:25:11 UTC

[35/50] git commit: Fix timeline initialization problems

Fix timeline initialization problems


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/32c322a5
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/32c322a5
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/32c322a5

Branch: refs/heads/master
Commit: 32c322a544b9840750d6bcf3827e1ae1b7dc7de0
Parents: 099f91d
Author: Michael Joyce <jo...@apache.org>
Authored: Fri Jul 18 12:06:12 2014 -0700
Committer: Michael Joyce <jo...@apache.org>
Committed: Fri Jul 18 12:06:12 2014 -0700

----------------------------------------------------------------------
 ocw-ui/frontend-new/app/index.html | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/32c322a5/ocw-ui/frontend-new/app/index.html
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/app/index.html b/ocw-ui/frontend-new/app/index.html
index a71dfe0..917a697 100644
--- a/ocw-ui/frontend-new/app/index.html
+++ b/ocw-ui/frontend-new/app/index.html
@@ -73,6 +73,12 @@
     <![endif]-->
     <!-- endbuild -->
 
+    <!-- Google visualization library needs to be initialized for the timeline -->
+    <!-- Note that the terms of use forbid having a local copy of the code, so we're -->
+    <!-- stuck downloading it this way unfortunately. -->
+    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
+    <script type="text/javascript">google.load("visualization", "1");</script>
+
     <!-- build:js(.) scripts/vendor.js -->
     <!-- bower:js -->
     <script src="bower_components/jquery/dist/jquery.js"></script>