Moving script to the File
2 unresolved threads
Open
requested to merge issue/advanced_mautic_integration-3448353:3448353-consider-refactoring-the into 1.0.x
2 unresolved threads
Closes #3448353
Merge request reports
Activity
17 17 */ 18 18 Drupal.behaviors.advancedMauticIntegrationTrackingEvents = { 19 19 attach(context, settings) { 20 Hi, please have a look at the eslint report in the pipeline:
/builds/issue/advanced_mautic_integration-3448353/web/modules/custom/advanced_mautic_integration-3448353/js/tracking_events.js 27:9 error Expected an assignment or function call and instead saw an expression no-unused-expressions 30:42 error Use the rest parameters instead of 'arguments' prefer-rest-params 31:13 error Unexpected use of comma operator no-sequences
17 17 */ 18 18 Drupal.behaviors.advancedMauticIntegrationTrackingEvents = { 19 19 attach(context, settings) { 20 21 /** 22 * Attaching Script of Mautic. 23 */ 24 var trackingUrl = settings.advancedMauticIntegration.trackDefaultParameters.trackUrl;
Please register or sign in to reply