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

Remove unnecessary IIFE from ra.sidescroll.js #3422

Merged
merged 1 commit into from
Nov 21, 2021

Conversation

jdufresne
Copy link
Member

The file no longer uses jQuery, so it doesn't need to be passed to the
IIFE (Immediately Invoked Function Expression).

The IIFE can be replaced by a simple block to continue to ensure the
global namespace is not polluted.

Refs #2893

The file no longer uses jQuery, so it doesn't need to be passed to the
IIFE (Immediately Invoked Function Expression).

The IIFE can be replaced by a simple block to continue to ensure the
global namespace is not polluted.

Refs railsadminteam#2893
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1484609131

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 91.133%

Totals Coverage Status
Change from base Build 1483612081: 0%
Covered Lines: 3361
Relevant Lines: 3688

💛 - Coveralls

@coveralls
Copy link

coveralls commented Nov 20, 2021

Coverage Status

Changes unknown
when pulling b560b31 on jdufresne:iife
into ** on railsadminteam:master**.

@mshibuya mshibuya merged commit e7fc7a3 into railsadminteam:master Nov 21, 2021
@mshibuya
Copy link
Member

Thanks!

@jdufresne jdufresne deleted the iife branch November 21, 2021 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants