diff --git a/client/js/bank_accounts/confirm/index.es6 b/client/js/bank_accounts/confirm/index.es6 index c9fcf68c..39365009 100644 --- a/client/js/bank_accounts/confirm/index.es6 +++ b/client/js/bank_accounts/confirm/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('virtual-dom/h') const request = require('../../common/super-agent-frp') const view = require('vvvview') diff --git a/client/js/bank_accounts/create.es6 b/client/js/bank_accounts/create.es6 index 10be232c..c86d1054 100755 --- a/client/js/bank_accounts/create.es6 +++ b/client/js/bank_accounts/create.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later var request = require('../common/super-agent-promise') var format_err = require('../common/format_response_error') diff --git a/client/js/campaigns/supporters/index/index.es6 b/client/js/campaigns/supporters/index/index.es6 index 9d5d5b85..941ecbc8 100644 --- a/client/js/campaigns/supporters/index/index.es6 +++ b/client/js/campaigns/supporters/index/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const request = require('../../../common/super-agent-frp') const view = require('vvvview') const flyd = require('flyd') diff --git a/client/js/campaigns/supporters/index/meta.es6 b/client/js/campaigns/supporters/index/meta.es6 index cf2d368d..3d071607 100644 --- a/client/js/campaigns/supporters/index/meta.es6 +++ b/client/js/campaigns/supporters/index/meta.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later // Table meta for the supporter listing under Campaigns const h = require('virtual-dom/h') const thunk = require('vdom-thunk') diff --git a/client/js/campaigns/supporters/index/metrics.es6 b/client/js/campaigns/supporters/index/metrics.es6 index 58335360..a476ba58 100644 --- a/client/js/campaigns/supporters/index/metrics.es6 +++ b/client/js/campaigns/supporters/index/metrics.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const view = require('vvvview') const h = require('virtual-dom/h') const flyd = require('flyd') diff --git a/client/js/campaigns/supporters/index/supporter-list.es6 b/client/js/campaigns/supporters/index/supporter-list.es6 index df282fb6..b5e64be4 100644 --- a/client/js/campaigns/supporters/index/supporter-list.es6 +++ b/client/js/campaigns/supporters/index/supporter-list.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('virtual-dom/h') const thunk = require('vdom-thunk') const flyd = require('flyd') diff --git a/client/js/campaigns/supporters/index/supporter-table.es6 b/client/js/campaigns/supporters/index/supporter-table.es6 index 7f632caa..be8f0404 100644 --- a/client/js/campaigns/supporters/index/supporter-table.es6 +++ b/client/js/campaigns/supporters/index/supporter-table.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const thunk = require('vdom-thunk') const h = require('virtual-dom/h') const flyd = require('flyd') diff --git a/client/js/cards/create-frp.es6 b/client/js/cards/create-frp.es6 index 7bf64827..94ff4e9e 100644 --- a/client/js/cards/create-frp.es6 +++ b/client/js/cards/create-frp.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const flyd = require('flyd') const flyd_flatMap = require('flyd/module/flatmap') diff --git a/client/js/common/direct-to-s3-upload.es6 b/client/js/common/direct-to-s3-upload.es6 index 6d52e6d7..6e5adf54 100644 --- a/client/js/common/direct-to-s3-upload.es6 +++ b/client/js/common/direct-to-s3-upload.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const flyd = require('flyd') const R = require('ramda') diff --git a/client/js/common/editor/froala.es6 b/client/js/common/editor/froala.es6 index 11b351b2..2d9e6020 100644 --- a/client/js/common/editor/froala.es6 +++ b/client/js/common/editor/froala.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later var view = require("vvvview") var savingIndicator = require('../../components/saving_indicator') var savingState = {hide: true} diff --git a/client/js/common/editor/quill.es6 b/client/js/common/editor/quill.es6 index 74da9f86..9c2a6517 100644 --- a/client/js/common/editor/quill.es6 +++ b/client/js/common/editor/quill.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later var view = require("vvvview") var savingIndicator = require('../../components/saving_indicator') var savingState = {hide: true} diff --git a/client/js/common/ff-form-validation/index.es6 b/client/js/common/ff-form-validation/index.es6 index 0e1709a5..bbd6ea85 100644 --- a/client/js/common/ff-form-validation/index.es6 +++ b/client/js/common/ff-form-validation/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('snabbdom/h') const R = require('ramda') const flyd = require('flyd') diff --git a/client/js/common/ff-form-validation/lib/currency-regex.es6 b/client/js/common/ff-form-validation/lib/currency-regex.es6 index a05040b3..378586ca 100644 --- a/client/js/common/ff-form-validation/lib/currency-regex.es6 +++ b/client/js/common/ff-form-validation/lib/currency-regex.es6 @@ -1,2 +1,3 @@ +// License: LGPL-3.0-or-later module.exports = /^(?!0\.00)\d{1,3}(,\d{3})*(\.\d\d)?$/ diff --git a/client/js/common/ff-form-validation/lib/email-regex.es6 b/client/js/common/ff-form-validation/lib/email-regex.es6 index a2c66d88..624a9afa 100644 --- a/client/js/common/ff-form-validation/lib/email-regex.es6 +++ b/client/js/common/ff-form-validation/lib/email-regex.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later // http://stackoverflow.com/questions/46155/validate-email-address-in-javascript module.exports = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; diff --git a/client/js/common/ff-form-validation/lib/readable-prop.es6 b/client/js/common/ff-form-validation/lib/readable-prop.es6 index 57034133..2f1985ff 100644 --- a/client/js/common/ff-form-validation/lib/readable-prop.es6 +++ b/client/js/common/ff-form-validation/lib/readable-prop.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later // "email_address" => "email address" // "emailAddress" => "email address" diff --git a/client/js/common/post-form-data.es6 b/client/js/common/post-form-data.es6 index c3b45384..6046b517 100644 --- a/client/js/common/post-form-data.es6 +++ b/client/js/common/post-form-data.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const flyd = require('flyd') const R = require('ramda') diff --git a/client/js/components/card-form.es6 b/client/js/components/card-form.es6 index 32edb4fb..83a40a19 100644 --- a/client/js/components/card-form.es6 +++ b/client/js/components/card-form.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later // npm const h = require('snabbdom/h') const R = require('ramda') diff --git a/client/js/components/color-picker.es6 b/client/js/components/color-picker.es6 index fa03f821..49fa058b 100644 --- a/client/js/components/color-picker.es6 +++ b/client/js/components/color-picker.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('snabbdom/h') const flyd = require('flyd') const R = require('ramda') diff --git a/client/js/components/sepa-form.es6 b/client/js/components/sepa-form.es6 index 35774e36..ceeabae8 100644 --- a/client/js/components/sepa-form.es6 +++ b/client/js/components/sepa-form.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('snabbdom/h') const R = require('ramda') const validatedForm = require('ff-core/validated-form') diff --git a/client/js/components/show-more-button.es6 b/client/js/components/show-more-button.es6 index c0bbe3af..a6d37d58 100644 --- a/client/js/components/show-more-button.es6 +++ b/client/js/components/show-more-button.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later /* A 'Show More' button component, useful for placing at the bottom of a listing of ajax'd data. diff --git a/client/js/components/supporter-address-form.es6 b/client/js/components/supporter-address-form.es6 index c9ed7a2a..c30b849a 100644 --- a/client/js/components/supporter-address-form.es6 +++ b/client/js/components/supporter-address-form.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('snabbdom/h') const R = require('ramda') const flyd = require('flyd') diff --git a/client/js/components/tables/search.es6 b/client/js/components/tables/search.es6 index be324f3c..cff5ecdb 100644 --- a/client/js/components/tables/search.es6 +++ b/client/js/components/tables/search.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('virtual-dom/h') const thunk = require('vdom-thunk') const formToObj = require('../../common/form-to-object') diff --git a/client/js/nonprofits/cards/edit/index.es6 b/client/js/nonprofits/cards/edit/index.es6 index 2552704b..626f34b3 100644 --- a/client/js/nonprofits/cards/edit/index.es6 +++ b/client/js/nonprofits/cards/edit/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const snabbdom = require('snabbdom') const h = require('snabbdom/h') const flyd = require('flyd') diff --git a/client/js/nonprofits/payouts/index/identity-verification-form.es6 b/client/js/nonprofits/payouts/index/identity-verification-form.es6 index f4273731..f1bda0aa 100644 --- a/client/js/nonprofits/payouts/index/identity-verification-form.es6 +++ b/client/js/nonprofits/payouts/index/identity-verification-form.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('snabbdom/h') const snabbdom = require('snabbdom') const R = require('ramda') diff --git a/client/js/nonprofits/recurring_donations/index/index.es6 b/client/js/nonprofits/recurring_donations/index/index.es6 index b4ec2a59..b32e703a 100644 --- a/client/js/nonprofits/recurring_donations/index/index.es6 +++ b/client/js/nonprofits/recurring_donations/index/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const snabbdom = require('snabbdom') const flyd = require('flyd') const h = require('snabbdom/h') diff --git a/client/js/nonprofits/supporter_form/index.es6 b/client/js/nonprofits/supporter_form/index.es6 index ee967184..a9a4200e 100644 --- a/client/js/nonprofits/supporter_form/index.es6 +++ b/client/js/nonprofits/supporter_form/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const flyd = require('flyd') const R = require('ramda') const flatMap = require('flyd/module/flatmap') diff --git a/client/js/nonprofits/supporters/import/index.es6 b/client/js/nonprofits/supporters/import/index.es6 index 3f0ee344..27733ff3 100644 --- a/client/js/nonprofits/supporters/import/index.es6 +++ b/client/js/nonprofits/supporters/import/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later // npm const h = require('snabbdom/h') const R = require('ramda') diff --git a/client/js/recurring_donations/edit/amount-step.es6 b/client/js/recurring_donations/edit/amount-step.es6 index 8a314c4b..c6596d96 100644 --- a/client/js/recurring_donations/edit/amount-step.es6 +++ b/client/js/recurring_donations/edit/amount-step.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('snabbdom/h') const R = require('ramda') const flyd = require('flyd') diff --git a/client/js/recurring_donations/edit/branded-wizard.es6 b/client/js/recurring_donations/edit/branded-wizard.es6 index aebf0ee6..6b661988 100644 --- a/client/js/recurring_donations/edit/branded-wizard.es6 +++ b/client/js/recurring_donations/edit/branded-wizard.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const gradient = require('../../common/css-gradient') const customBranding = require('./custom-nonprofit-branding.es6') diff --git a/client/js/recurring_donations/edit/card-form.es6 b/client/js/recurring_donations/edit/card-form.es6 index d194746d..4e89742e 100644 --- a/client/js/recurring_donations/edit/card-form.es6 +++ b/client/js/recurring_donations/edit/card-form.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later // npm const h = require('snabbdom/h') const R = require('ramda') diff --git a/client/js/recurring_donations/edit/change-amount-wizard.es6 b/client/js/recurring_donations/edit/change-amount-wizard.es6 index eb4d12a0..322f6c8b 100644 --- a/client/js/recurring_donations/edit/change-amount-wizard.es6 +++ b/client/js/recurring_donations/edit/change-amount-wizard.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const flyd = require('flyd') const R = require('ramda') const h = require('snabbdom/h') diff --git a/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 b/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 index d4506e1f..10fda1e8 100644 --- a/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 +++ b/client/js/recurring_donations/edit/custom-nonprofit-branding.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const color = require('color') module.exports = (brand_color = null) => { diff --git a/client/js/recurring_donations/edit/index.es6 b/client/js/recurring_donations/edit/index.es6 index 88343c43..bc54cdb8 100644 --- a/client/js/recurring_donations/edit/index.es6 +++ b/client/js/recurring_donations/edit/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later // npm const flyd = require('flyd') const mergeAll = require('flyd/module/mergeall') diff --git a/client/js/recurring_donations/edit/payment-step.es6 b/client/js/recurring_donations/edit/payment-step.es6 index ddbdadc4..271c295e 100644 --- a/client/js/recurring_donations/edit/payment-step.es6 +++ b/client/js/recurring_donations/edit/payment-step.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const h = require('snabbdom/h') const R = require('ramda') const flyd = require('flyd') diff --git a/client/js/stripe_wrapper/index.es6 b/client/js/stripe_wrapper/index.es6 index 9f88ef51..dc9ac2dc 100644 --- a/client/js/stripe_wrapper/index.es6 +++ b/client/js/stripe_wrapper/index.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const jQuery = require ('jquery') /** diff --git a/client/js/supporters/email-modal.es6 b/client/js/supporters/email-modal.es6 deleted file mode 100644 index e69de29b..00000000 diff --git a/client/js/supporters/info-card.es6 b/client/js/supporters/info-card.es6 index 25d8f877..b263e762 100644 --- a/client/js/supporters/info-card.es6 +++ b/client/js/supporters/info-card.es6 @@ -1,3 +1,4 @@ +// License: LGPL-3.0-or-later const request = require("../common/super-agent-frp") const view = require("vvvview") const flyd = require('flyd')