summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmD3.ang.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ang/crmD3.ang.php')
-rw-r--r--www/crm/wp-content/plugins/civicrm/civicrm/ang/crmD3.ang.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmD3.ang.php b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmD3.ang.php
new file mode 100644
index 00000000..0a737341
--- /dev/null
+++ b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmD3.ang.php
@@ -0,0 +1,16 @@
+<?php
+// This file declares an Angular module which can be autoloaded
+// in CiviCRM. See also:
+// http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules
+
+// ODDITY: Only loads if you have CiviMail permissions.
+// ODDITY: Extra resources loaded via CRM_Mailing_Info::getAngularModules.
+
+return [
+ 'ext' => 'civicrm',
+ 'js' => [
+ 'ang/crmD3.js',
+ 'bower_components/d3/d3.min.js',
+ ],
+ 'requires' => [],
+];