Skip to content

Some misc client side jQuery fixes#577

Merged
Martii merged 1 commit intoOpenUserJS:masterfrom
Martii:someClientSidejQueryFixes
Feb 9, 2015
Merged

Some misc client side jQuery fixes#577
Martii merged 1 commit intoOpenUserJS:masterfrom
Martii:someClientSidejQueryFixes

Conversation

@Martii
Copy link
Copy Markdown
Member

@Martii Martii commented Feb 9, 2015

  • Turn off some init event handlers once they are triggered... applies (especially) to reminders and top pagination
  • Keeping local conditionals in as turning off event handlers take longer than a local scoped variable boolean toggle.
  • Some STYLEGUIDE.md conformance in these files
  • Use mustache (mu2 package) to load common, usually unchanging, .js code into local scope since it's shared across these e.g. make a client side library .js
  • Renamed a few common variables... still plenty readable and easier to manage across the board
  • jQuery load event is said to be deprecated but keeping in for possible backward compatibility
  • Scoot some comments around... and remove the "jQuery" comment... we already know it's jQuery

* Turn off some init event handlers once they are triggered... applies to reminders and top pagination
* Keeping local conditionals in as turning off event handlers take longer than a local scoped variable boolean toggle.
* Some STYLEGUIDE.md conformance in these files
* Use mustache *(*mu2* package)* to load common, usually unchanging, .js code into local scope since it's shared across these e.g. make a client side library .js
* Renamed a few common variables... still plenty readable and easier to manage across the board
* jQuery `load` event [is said](http://www.w3schools.com/jquery/event_load.asp) to be deprecated but keeping in for possible backward compatibility
* Scoot some comments around... and remove the "jQuery" comment... we already know it's jQuery
@Martii Martii added CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. UI Pertains inclusively to the User Interface. bug You've guessed it... this means a bug is reported. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. labels Feb 9, 2015
Martii added a commit that referenced this pull request Feb 9, 2015
Some misc client side jQuery fixes

Auto-merge
@Martii Martii merged commit 3caf899 into OpenUserJS:master Feb 9, 2015
@Martii Martii deleted the someClientSidejQueryFixes branch February 9, 2015 08:03
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. UI Pertains inclusively to the User Interface.

Development

Successfully merging this pull request may close these issues.

1 participant