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

"it" variable in JS #50

Closed
faiwer opened this issue Jan 18, 2018 · 2 comments
Closed

"it" variable in JS #50

faiwer opened this issue Jan 18, 2018 · 2 comments

Comments

@faiwer
Copy link

faiwer commented Jan 18, 2018

img_18_01_12 24 38_df7e5e1d943

for(const it of el.values)
	if(it.length)
		mea.eval(it); // throw
return el.values.length ? el.values[0] : '1';

Hello. I don't know why, but the code abode breaks all syntax highlighting below :) My expreriments with it shows that it because I use here the variable called it. When I changed it to a the trouble dissolved.

@borela
Copy link
Owner

borela commented Jan 18, 2018

Fix https://github.com/borela/naomi/releases/tag/v3.1.2 It was highlighting the jest global as it has it.skip, it.only.

@borela borela mentioned this issue Jan 18, 2018
@borela
Copy link
Owner

borela commented Jan 18, 2018

Fixed on >= 3.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants