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

Js cleanup #17

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Js cleanup #17

wants to merge 6 commits into from

Conversation

stokito
Copy link
Contributor

@stokito stokito commented Mar 15, 2021

The PR contains small changes that are safe to merge.
I did this refactoring while debugged a problem,

stokito added 5 commits March 16, 2021 00:27
Also replace tab with spaces
Otherwise browser shows a warning that mime type is incorrect
Add error details for fail on switches.json.
Use done() instead of always() that will executed on fails too.
Add missing var ip.
Remove redundant escaping for - in regexp
Instead of duplicating selectors we can just use call chains. This makes code faster
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.

1 participant