mod-build 3.6.99-beta.1 → 3.6.99-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gulp-tasks/js-lint.js +2 -2
- package/gulp-tasks/templates.js +1 -1
- package/package.json +1 -1
package/gulp-tasks/js-lint.js
CHANGED
|
@@ -20,7 +20,7 @@ module.exports = function(gulp, _gulpPlugins, siteSettings) {
|
|
|
20
20
|
])
|
|
21
21
|
.pipe(gulpESLintNew(siteSettings.jsLint))
|
|
22
22
|
.pipe(gulpESLintNew.format())
|
|
23
|
-
.pipe(gulpESLintNew.format('junit', fs.createWriteStream('eslint-results.xml')))
|
|
24
|
-
|
|
23
|
+
.pipe(gulpESLintNew.format('junit', fs.createWriteStream('eslint-results.xml')));
|
|
24
|
+
//.pipe(gulpESLintNew.failAfterError()); // Will turn back on after Modernize Consent has been added across S3
|
|
25
25
|
};
|
|
26
26
|
};
|
package/gulp-tasks/templates.js
CHANGED
|
@@ -304,7 +304,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
304
304
|
finalTCPA = finalTCPA.replace(removeInlineStyleRegex, '');
|
|
305
305
|
|
|
306
306
|
// Adjustments for Modernize Consent Capture (will be adjusted with O&O Consent Implementation)
|
|
307
|
-
finalTCPA = finalTCPA.replace('Modernize', '<
|
|
307
|
+
finalTCPA = finalTCPA.replace('Modernize', '<label><input class="consent-capture" type="checkbox" data-name="Modernize" data-key="33940610" checked /> Modernize</label>');
|
|
308
308
|
const tcpaPrivacyAndTerms = ' Please see our <a id="tcpaPrivacy" href="/?modal=tcpaPrivacy" data-load="/resources/templates/modals/privacy/" data-bind="modal-page">Privacy Notice</a> and our <a id="tcpaTerms" href="/?modal=tcpaTerms" data-load="/resources/templates/modals/terms/" data-bind="modal-page">Terms of Use</a>';
|
|
309
309
|
finalTCPA += tcpaPrivacyAndTerms;
|
|
310
310
|
|