Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Conversation

@mahdiyeh-deriv
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Aug 24, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/deriv/binary-static/7ougGqkVSGfMzBNc9oTkqhqErxfF
✅ Preview: https://binary-static-git-fork-mahdiyeh-fs-fixguide.binary.sx

@github-actions
Copy link

github-actions bot commented Aug 24, 2021

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/binary-com/binary-static/pull/6753](https://github.com/binary-com/binary-static/pull/6753)
- **URLs**:
    - **w/ App ID + Server**: https://binary-static-git-fork-mahdiyeh-fs-fixguide.binary.sx/en/logged_inws.html?qa_server=frontend.binaryws.com&app_id=29844
    - **Original**: https://binary-static-git-fork-mahdiyeh-fs-fixguide.binary.sx/en/logged_inws.html
- **App ID**: `29844`

mahdiaryayi-fs
mahdiaryayi-fs previously approved these changes Aug 24, 2021
const setEvents = () => {
$(`${opt.guideBtnID} strong`).click(() => {
const enjoyhint_instance = new EnjoyHint({});
const contractList = $(opt.contractList);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use snake_case for these constants? contract_list and close_confirmation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

since guideBtnID is in the camelCase format, i keep it the same

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's the old practice which we don't use anymore. Maybe you can also change guideBtnID to guide_btn_id?

Copy link
Contributor

Choose a reason for hiding this comment

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

My suggestion would be to make all three consistent like guide_btn_id, contract_list_id, and close_confirmation_id. Do you think this would be better?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, right, will handle that, thanks

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
9.0% 9.0% Duplication

@mamali-fs mamali-fs merged commit 3cf0b54 into binary-com:master Aug 30, 2021
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.

5 participants