add google treemap dependencies
authornowmad@23.1.168.192.in-addr.arpa
Thu, 31 Dec 2015 10:22:55 +0100
changeset 80 6e0272a9b3ca
parent 79 9224009d41cb
child 81 848e4a5ad4d9
add google treemap dependencies
cms/corpus_module/corpus.module
--- a/cms/corpus_module/corpus.module	Tue Dec 29 14:17:16 2015 +0100
+++ b/cms/corpus_module/corpus.module	Thu Dec 31 10:22:55 2015 +0100
@@ -44,6 +44,7 @@
 
  drupal_add_html_head($element, 'ember_init');
 
+ drupal_add_js("https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization','version':'1.1','packages':['treemap']}]}");
  drupal_add_js("{$path}/assets/vendor.js");
  drupal_add_css("{$path}/assets/vendor.css");
  drupal_add_css("{$path}/assets/{$app}.css");