mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[mujs] document.defaultView
This commit is contained in:
parent
ebb41e9c67
commit
d393a06f07
@ -285,6 +285,15 @@ mjs_document_get_property_childNodes(js_State *J)
|
||||
mjs_push_nodelist(J, nodes);
|
||||
}
|
||||
|
||||
static void
|
||||
mjs_document_get_property_defaultView(js_State *J)
|
||||
{
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s\n", __FILE__, __FUNCTION__);
|
||||
#endif
|
||||
js_pushglobal(J);
|
||||
}
|
||||
|
||||
static void
|
||||
mjs_document_get_property_doctype(js_State *J)
|
||||
{
|
||||
@ -1387,6 +1396,7 @@ mjs_document_init(js_State *J)
|
||||
addproperty(J, "charset", mjs_document_get_property_charset, NULL);
|
||||
addproperty(J, "characterSet", mjs_document_get_property_charset, NULL);
|
||||
addproperty(J, "childNodes", mjs_document_get_property_childNodes, NULL);
|
||||
addproperty(J, "defaultView", mjs_document_get_property_defaultView, NULL);
|
||||
addproperty(J, "doctype", mjs_document_get_property_doctype, NULL);
|
||||
addproperty(J, "documentElement", mjs_document_get_property_documentElement, NULL);
|
||||
addproperty(J, "documentURI", mjs_document_get_property_documentURI, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user