mod-build 3.6.82 → 3.6.84
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.6.84
|
|
4
|
+
|
|
5
|
+
- Removed downloading of jornaya file.
|
|
6
|
+
|
|
7
|
+
## 3.6.83
|
|
8
|
+
|
|
9
|
+
- Add 'Water Filtration' to the list of trades unsupported by CXP
|
|
10
|
+
|
|
3
11
|
## 3.6.82
|
|
4
12
|
|
|
5
13
|
- Making sure the abandonment.min.js gets copied to the right folder path (needs to copy to /abandonment/accessible/ if the site is indeed using the accessible version). This will ensure our shared-resource deployments trigger the files correctly.
|
package/gulp-tasks/grab-cdn.js
CHANGED
|
@@ -42,8 +42,6 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
42
42
|
'/quote/resources/shared-resources/templates/modals/faq/': ['/resources/templates/modals/faq/', 'index.html']
|
|
43
43
|
})
|
|
44
44
|
|
|
45
|
-
Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/jornaya.html': ['/templates/scripts/', 'jornaya.html']});
|
|
46
|
-
|
|
47
45
|
if (isModWhiteLabel || domainHasModernize) {
|
|
48
46
|
Object.assign(externalResources, {'/quote/resources/mod-site/templates/scripts/recaptcha.html': ['/templates/scripts/', 'recaptcha.html']});
|
|
49
47
|
}
|
package/package.json
CHANGED
|
@@ -431,11 +431,10 @@ modForm.isFreeEmail = function(email) {
|
|
|
431
431
|
* @returns {Boolean} - true if meets CXP criteria
|
|
432
432
|
*/
|
|
433
433
|
modForm.isSupportedByCxp = function(formData) {
|
|
434
|
-
|
|
435
|
-
return false;
|
|
436
|
-
}
|
|
434
|
+
const cxpUnsupportedTrades = ['Solar', 'Water Filtration'];
|
|
437
435
|
|
|
438
|
-
|
|
436
|
+
const isUnsupportedTrade = cxpUnsupportedTrades.indexOf(formData.primaryProjectClass) > -1;
|
|
437
|
+
return !isUnsupportedTrade;
|
|
439
438
|
};
|
|
440
439
|
|
|
441
440
|
/**
|