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

function(a, b) transpile as ({ classList }, { classList }) => #301

Closed
NikitaIT opened this issue Oct 12, 2019 · 1 comment
Closed

function(a, b) transpile as ({ classList }, { classList }) => #301

NikitaIT opened this issue Oct 12, 2019 · 1 comment

Comments

@NikitaIT
Copy link

d = function(priceListItem, priceListItemActionsBlock, priceListItemActionsWrapper) {
  slideToggle(priceListItemActionsWrapper, 150);
  priceListItem.classList.toggle("ads_retargeting_price_list_item_opened");
  priceListItemActionsBlock.classList.toggle("ads_retargeting_price_list_actions_opened");
}

after lebab code not valid

d = ({ classList }, { classList }, priceListItemActionsWrapper) => {
    slideToggle(priceListItemActionsWrapper, 150);
    classList.toggle("ads_retargeting_price_list_item_opened");
    classList.toggle("ads_retargeting_price_list_actions_opened");
  };
@nene
Copy link
Collaborator

nene commented Oct 12, 2019

You're right. Duplicate of #200

@nene nene closed this as completed Oct 12, 2019
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

No branches or pull requests

2 participants