From 9babcbfb82c4187864014a139adaa565c4da4c76 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 29 May 2019 16:18:15 -0500 Subject: [PATCH] Fix bug where nonprofit branding isn't properly exported into javascript files from typescript --- client/js/components/nonprofit-branding.js | 2 +- .../js/recurring_donations/edit/custom-nonprofit-branding.es6 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/js/components/nonprofit-branding.js b/client/js/components/nonprofit-branding.js index bd921207..bc51da7c 100644 --- a/client/js/components/nonprofit-branding.js +++ b/client/js/components/nonprofit-branding.js @@ -1,5 +1,5 @@ // License: LGPL-3.0-or-later import nonprofitBranding from '../../../javascripts/src/lib/nonprofitBranding.ts'; -export default nonprofitBranding(app.nonprofit.brand_color) +module.exports = nonprofitBranding(app.nonprofit.brand_color) diff --git a/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 b/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 index aa2ad97e..49b083d6 100644 --- a/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 +++ b/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 @@ -1,4 +1,4 @@ // License: LGPL-3.0-or-later import nonprofitBranding from '../../../../javascripts/src/lib/nonprofitBranding.ts'; -export default nonprofitBranding +module.exports = nonprofitBranding