Commit f687a1d2 authored by totten's avatar totten

CRM-20600 - Angular deps - Add missing/implicit dependencies

Several modules depended on `crmResource` but didn't declare it.
parent 0b199194
......@@ -11,5 +11,5 @@ return array(
'settings' => array(
'token' => \CRM_Core_Page_AJAX_Attachment::createToken(),
),
'requires' => array('angularFileUpload'),
'requires' => array('angularFileUpload', 'crmResource'),
);
......@@ -16,5 +16,5 @@ return array(
'js' => array('ang/crmCaseType.js'),
'css' => array('ang/crmCaseType.css'),
'partials' => array('ang/crmCaseType'),
'requires' => array('ngRoute', 'ui.utils', 'crmUi', 'unsavedChanges', 'crmUtil'),
'requires' => array('ngRoute', 'ui.utils', 'crmUi', 'unsavedChanges', 'crmUtil', 'crmResource'),
);
......@@ -8,5 +8,5 @@ return array(
'js' => array('ang/crmCxn.js', 'ang/crmCxn/*.js'),
'css' => array('ang/crmCxn.css'),
'partials' => array('ang/crmCxn'),
'requires' => array('crmUtil', 'ngRoute', 'ngSanitize', 'ui.utils', 'crmUi', 'dialogService'),
'requires' => array('crmUtil', 'ngRoute', 'ngSanitize', 'ui.utils', 'crmUi', 'dialogService', 'crmResource'),
);
......@@ -7,5 +7,5 @@ return array(
'ext' => 'civicrm',
'js' => array('ang/crmExample.js'),
'partials' => array('ang/crmExample'),
'requires' => array('crmUtil', 'ngRoute', 'ui.utils', 'crmUi'),
'requires' => array('crmUtil', 'ngRoute', 'ui.utils', 'crmUi', 'crmResource'),
);
......@@ -14,5 +14,5 @@ return array(
),
'css' => array('ang/crmMailing.css'),
'partials' => array('ang/crmMailing'),
'requires' => array('crmUtil', 'crmAttachment', 'crmAutosave', 'ngRoute', 'ui.utils', 'crmUi', 'dialogService'),
'requires' => array('crmUtil', 'crmAttachment', 'crmAutosave', 'ngRoute', 'ui.utils', 'crmUi', 'dialogService', 'crmResource'),
);
......@@ -15,5 +15,5 @@ return array(
),
'css' => array('ang/crmMailingAB.css'),
'partials' => array('ang/crmMailingAB'),
'requires' => array('ngRoute', 'ui.utils', 'crmUi', 'crmAttachment', 'crmMailing', 'crmD3'),
'requires' => array('ngRoute', 'ui.utils', 'crmUi', 'crmAttachment', 'crmMailing', 'crmD3', 'crmResource'),
);
......@@ -11,5 +11,5 @@ return array(
'css' => array('ang/crmStatusPage.css'),
'partials' => array('ang/crmStatusPage'),
'settings' => array(),
'requires' => array('crmUi', 'crmUtil', 'ngRoute'),
'requires' => array('crmUi', 'crmUtil', 'ngRoute', 'crmResource'),
);
......@@ -7,5 +7,5 @@ return array(
'ext' => 'civicrm',
'js' => array('ang/crmUi.js'),
'partials' => array('ang/crmUi'),
'requires' => array(),
'requires' => array('crmResource'),
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment