Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapinghub/splash
/ escape_js
Function
escape_js
splash/jsutils.py:5–6 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
3
4
5
def
escape_js(*args):
6
return
json.dumps(args, ensure_ascii=False)[1:-1]
7
8
9
# JS function which only allows plain arrays/objects and other primitives
Callers
15
escape_and_evaljs
Function · 0.90
add
Method · 0.90
init_storage
Method · 0.90
get_event_property
Method · 0.90
remove_event
Method · 0.90
__init__
Method · 0.90
escape_js_args
Function · 0.90
node_property
Method · 0.90
set_node_property
Method · 0.90
get_node_style
Method · 0.90
set_node_style
Method · 0.90
node_method
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected