Skip to content

Commit

Permalink
Merge pull request #19048 from colemanw/angComment
Browse files Browse the repository at this point in the history
[NFC] Remove boilerplate comment from .ang.php files
  • Loading branch information
colemanw authored Nov 25, 2020
2 parents b14f299 + 5143ee7 commit 309de23
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 75 deletions.
3 changes: 0 additions & 3 deletions ang/angularFileUpload.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['bower_components/angular-file-upload/angular-file-upload.min.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/checklist-model.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'basePages' => [],
Expand Down
3 changes: 0 additions & 3 deletions ang/crmApp.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['ang/crmApp.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/crmAttachment.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['ang/crmAttachment.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/crmAutosave.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['ang/crmAutosave.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/crmCaseType.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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: This only loads if CiviCase is active.

return [
Expand Down
3 changes: 0 additions & 3 deletions ang/crmCxn.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['ang/crmCxn.js', 'ang/crmCxn/*.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/crmMailing.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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.

Expand Down
3 changes: 0 additions & 3 deletions ang/crmMailingAB.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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.

Expand Down
3 changes: 0 additions & 3 deletions ang/crmResource.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
// 'js' => array('js/angular-crmResource/byModule.js'), // One HTTP request per module.
Expand Down
3 changes: 0 additions & 3 deletions ang/crmRouteBinder.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['ang/crmRouteBinder.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/crmStatusPage.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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: Angular name 'statuspage' doesn't match the file name 'crmStatusPage'.

return [
Expand Down
3 changes: 0 additions & 3 deletions ang/crmUi.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

$isDebug = Civi::settings()->get('debug_enabled');

return [
Expand Down
3 changes: 0 additions & 3 deletions ang/crmUtil.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['ang/crmUtil.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/dialogService.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

// https://github.com/jwstadler/angular-jquery-dialog-service

return [
Expand Down
3 changes: 0 additions & 3 deletions ang/ngRoute.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['bower_components/angular-route/angular-route.min.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/ngSanitize.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['bower_components/angular-sanitize/angular-sanitize.min.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/ui.bootstrap.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'basePages' => [],
Expand Down
3 changes: 0 additions & 3 deletions ang/ui.sortable.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['bower_components/angular-ui-sortable/sortable.min.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/ui.utils.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['bower_components/angular-ui-utils/ui-utils.min.js'],
Expand Down
3 changes: 0 additions & 3 deletions ang/unsavedChanges.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'ext' => 'civicrm',
'js' => ['bower_components/angular-unsavedChanges/dist/unsavedChanges.min.js'],
Expand Down
3 changes: 0 additions & 3 deletions ext/afform/core/ang/af.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'js' => [
'ang/af.js',
Expand Down
3 changes: 0 additions & 3 deletions ext/afform/core/ang/afCore.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'js' => [
'ang/afCore.js',
Expand Down
3 changes: 0 additions & 3 deletions ext/afform/core/ang/afformStandalone.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return [
'js' => [
'ang/afformStandalone.js',
Expand Down
3 changes: 0 additions & 3 deletions ext/afform/html/ang/afMonaco.ang.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?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

return array(
'js' => [
AFFORM_HTML_MONACO . '/loader.js',
Expand Down

0 comments on commit 309de23

Please sign in to comment.