Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapinghub/splash
/ escape_js_args
Function
escape_js_args
splash/html_element.py:47–51 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
45
46
47
def
escape_js_args(*args):
48
return
','
.join([
49
arg.element_js
if
isinstance(arg, HTMLElement)
else
escape_js(arg)
50
for
arg in args
51
])
52
53
54
class
HTMLElement(object):
Callers
2
__call__
Method · 0.90
call
Method · 0.85
Calls
1
escape_js
Function · 0.90
Tested by
no test coverage detected