Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge - unless the other fails][REF] Minor clarification - cleanup js variable names #19644

Closed
wants to merge 2 commits into from

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Feb 22, 2021

Overview

[REF] Minor clarification - cleanup js variable names

Before

References to membershipType are allMemberships[memType] which is confusing

After

Values assigned to array membershipType. membershipTypeID consistently used for the variable meaning membership type id - was memType AND membershipType - both retrieved from the same jquery

Technical Details
----------------------------------------
Jus preliminary cleanup

Comments

@civibot
Copy link

civibot bot commented Feb 22, 2021

(Standard links)

@civibot civibot bot added the master label Feb 22, 2021
@eileenmcnaughton eileenmcnaughton changed the title [REF] Minor clarification - rename membershipType to membershipTypeID [REF] Minor clarification - cleanup js variable names Feb 22, 2021
@colemanw
Copy link
Member

Ugh. Global variables. Un-enclosed javascript code. Deprecated cj. 🤮

@eileenmcnaughton eileenmcnaughton changed the title [REF] Minor clarification - cleanup js variable names [do not merge - unless the other fails][REF] Minor clarification - cleanup js variable names Feb 22, 2021
@eileenmcnaughton eileenmcnaughton deleted the mem_js branch February 22, 2021 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants