Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Simple refactorizations. #820

Merged
merged 4 commits into from
Jun 10, 2017
Merged

Simple refactorizations. #820

merged 4 commits into from
Jun 10, 2017

Conversation

UmanShahzad
Copy link
Contributor

@UmanShahzad UmanShahzad commented Jun 9, 2017

Assalamu Alaikum

This PR contains simple refactorizations, mostly recommended by ESLint. It's a basic starting point for me to delve into something a little deeper and help contribute.

It contains, as the commits note:

  1. Removing of px or % qualifiers on values of 0 throughout .scss files. (@b13826e)
  2. Replacing of var with const when it makes sense to do so (same with let -> const). (@4e6ea55)
  3. Add/remove semicolons where it makes sense to do so. (see commit from note 3)
  4. General style considerations. (see commit from note 3)

P.S. I've not done proper local testing with this yet -- having some issues with setting up a local environment right now, and a little busy with work preventing me from solving that. Just wanted to get this PR up. Hopefully CI can give us the confidence we need.

Uman Shahzad added 3 commits June 9, 2017 11:05
Replace `var` with `const` where necessary.
Remove unnecessary semicolons in some places.
Add semicolons in some places.
General style refactorizations.
@ahmedre
Copy link
Contributor

ahmedre commented Jun 9, 2017

Deployed to: http://staging.quran.com:32847

@UmanShahzad
Copy link
Contributor Author

I think changes to server.*.js are causing the staging environment to break and are probably unwarranted.

@ahmedre
Copy link
Contributor

ahmedre commented Jun 9, 2017

Deployed to: http://staging.quran.com:32848

@UmanShahzad
Copy link
Contributor Author

Undoing those changes fixes it.

Copy link
Contributor

@mmahalwy mmahalwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@mmahalwy mmahalwy merged commit 93cbf77 into quran:master Jun 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants