JavaScript Beautifier without line break when using jQuery's css() Method

673 views Asked by At

Do you know of any online JavaScript Beautifier that does not format this code

$("[id='abc']").css({top: '53px'});

like this

$("[id='abc']")
    .css({
        top: '53px'
    });

but keeps everything on one line?

1

There are 1 answers

0
smolo On

https://beautifier.io/ with "Preserve inline braces/code blocks?" ticked works.