Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

String should not be wrapped by quotes.

Open qwIvan opened this issue 7 years ago • 3 comments

String should not be wrapped by quotes. repr of PyJsObject has been overwritten.

qwIvan avatar Jan 20 '18 09:01 qwIvan

Added "to_dict()" in PyJsArguments

qwIvan avatar Jan 20 '18 11:01 qwIvan

Added multiple arguments support for console.log

qwIvan avatar Jan 20 '18 11:01 qwIvan

Hmm, the string should be wrapped in quotes when displayed in Python via __repr__ method, thanks to that we can easily see the contents of the Js object in Python. PyJsArguments is always an array so does not need to_dict method.

But, I like the multi arg support for console.log :) Thanks!

PiotrDabkowski avatar Jan 21 '18 16:01 PiotrDabkowski