{ "schema_type": "object", "schema_version": "1.1", "name": "escape_javascript", "path": "packages/ree_text/package/ree_text/functions/escape_javascript.rb", "mount_as": "fn", "class": "ReeText::EscapeJavascript", "factory": null, "methods": [ { "doc": "Escapes carriage returns and single and double quotes for JavaScript segments.", "throws": [ ], "return": "String", "args": [ { "arg": "javascript", "arg_type": "req", "type": "Nilor[String, Bool, Integer, Symbol]" } ] } ], "links": [ { "target": "is_blank", "package_name": "ree_object", "as": "is_blank", "imports": [ ] } ] }