Skip to content
Snippets Groups Projects
Commit fe2b9c4c authored by colemanw's avatar colemanw
Browse files

Angular - Remove deprecated js file

parent da176e2b
Branches
Tags
No related merge requests found
......@@ -143,7 +143,6 @@ class AngularLoader {
});
$res->addScriptFile('civicrm', 'bower_components/angular/angular.min.js', 100, $this->getRegion(), FALSE);
$res->addScriptFile('civicrm', 'js/crm.angular.js', 101, $this->getRegion(), FALSE);
$headOffset = 0;
$config = \CRM_Core_Config::singleton();
......
(function (angular, $, _) {
// DEPRECATED: A variant of angular.module() which uses a dependency list provided by the server.
// REMOVE circa v4.7.22.
angular.crmDepends = function crmDepends(name) {
return angular.module(name, CRM.angRequires(name));
};
})(angular, CRM.$, CRM._);
......@@ -35,7 +35,6 @@ module.exports = function(config) {
'js/Common.js',
'js/crm.datepicker.js',
'bower_components/angular/angular.js',
'js/crm.angular.js',
angularTempFile,
'bower_components/angular-file-upload/angular-file-upload.js',
'bower_components/angular-jquery-dialog-service/dialog-service.js',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment