[BUGFIX] Fix broken TS build due to outdated patch 45/60245/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 14 Mar 2019 09:04:46 +0000 (10:04 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 14 Mar 2019 09:18:36 +0000 (10:18 +0100)
The patch for issue #87324 was based on outdated tslint configuration,
which causes all TypeScript builds to fail. The build is now fixed
by executing

    cd Build
    ./node_modules/tslint/bin/tslint -c tslint.json --fix --project .

Resolves: #87908
Related: #87324
Releases: master
Change-Id: I1447dd98aba693756f64308c048a5da199a505df
Reviewed-on: https://review.typo3.org/c/60245
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/backend/Resources/Private/TypeScript/FormEngine/Element/AbstractSortableSelectItems.ts
typo3/sysext/backend/Resources/Private/TypeScript/FormEngine/Element/Extra/SelectBoxFilter.ts
typo3/sysext/backend/Resources/Private/TypeScript/FormEngine/Element/InputLinkElement.ts
typo3/sysext/backend/Resources/Private/TypeScript/FormEngine/Element/SelectCheckBoxElement.ts
typo3/sysext/backend/Resources/Private/TypeScript/FormEngine/Element/SelectMultipleSideBySideElement.ts
typo3/sysext/backend/Resources/Private/TypeScript/FormEngine/FieldWizard/LocalizationStateSelector.ts

index 680b814..b8a4098 100644 (file)
@@ -127,7 +127,7 @@ export abstract class AbstractSortableSelectItems {
       } else if (target.classList.contains('t3js-btn-removeoption')) {
         AbstractSortableSelectItems.removeOption(
           fieldElement,
-          <HTMLSelectElement>FormEngine.getFieldElement(relatedFieldName, '_avail').get(0)
+          <HTMLSelectElement>FormEngine.getFieldElement(relatedFieldName, '_avail').get(0),
         );
       }
 
index f5b1139..f9ddd78 100644 (file)
@@ -16,7 +16,7 @@ import * as $ from 'jquery';
 enum Selectors {
   fieldContainerSelector = '.t3js-formengine-field-group',
   filterTextFieldSelector = '.t3js-formengine-multiselect-filter-textfield',
-  filterSelectFieldSelector = '.t3js-formengine-multiselect-filter-dropdown'
+  filterSelectFieldSelector = '.t3js-formengine-multiselect-filter-dropdown',
 }
 
 /**
index 9e65f4c..1f3974b 100644 (file)
@@ -16,7 +16,7 @@ import * as $ from 'jquery';
 enum Selectors {
   toggleSelector = '.t3js-form-field-inputlink-explanation-toggle',
   inputFieldSelector = '.t3js-form-field-inputlink-input',
-  explanationSelector = '.t3js-form-field-inputlink-explanation'
+  explanationSelector = '.t3js-form-field-inputlink-explanation',
 }
 
 class InputLinkElement {
index 4c44ee0..82c617b 100644 (file)
@@ -16,7 +16,7 @@ import FormEngine = require('TYPO3/CMS/Backend/FormEngine');
 
 enum Identifier {
   toggleAll = '.t3js-toggle-checkboxes',
-  singleItem = '.t3js-checkbox'
+  singleItem = '.t3js-checkbox',
 }
 
 class SelectCheckBoxElement {
index 980a5c7..d3e2037 100644 (file)
@@ -47,7 +47,7 @@ class SelectMultipleSideBySideElement extends AbstractSortableSelectItems {
               optionElement.textContent,
               optionElement.getAttribute('title'),
               exclusiveValues,
-              $(optionElement)
+              $(optionElement),
             );
           });
         }
index 2c7d9a8..10435d1 100644 (file)
@@ -14,7 +14,7 @@
 import * as $ from 'jquery';
 
 enum States {
-  CUSTOM = 'custom'
+  CUSTOM = 'custom',
 }
 
 class LocalizationStateSelector {
@@ -62,7 +62,7 @@ class LocalizationStateSelector {
 
         $input.val($me.attr('data-original-language-value')).trigger('change');
         $input.data('last-l10n-state', $me.val());
-      }
+      },
     );
   }
 }