From d57dec24548d7d8b58c54d0647b6d1339a09cb88 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 13 Oct 2015 23:20:50 +0100 Subject: add automaticaly generated property setter and getters to HTMLMapElement --- javascript/duktape/HTMLMapElement.bnd | 14 ++++++++++++++ javascript/duktape/netsurf.bnd | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 javascript/duktape/HTMLMapElement.bnd (limited to 'javascript') diff --git a/javascript/duktape/HTMLMapElement.bnd b/javascript/duktape/HTMLMapElement.bnd new file mode 100644 index 000000000..0603f6f81 --- /dev/null +++ b/javascript/duktape/HTMLMapElement.bnd @@ -0,0 +1,14 @@ +/* HTML map element binding using duktape and libdom + * + * Copyright 2015 Vincent Sanders + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * Released under the terms of the MIT License, + * http://www.opensource.org/licenses/mit-license + */ + +init HTMLMapElement(struct dom_html_element *html_map_element::html_element); + +getter HTMLMapElement::name(); +setter HTMLMapElement::name(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 771fa5ecb..2ecacf549 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -86,6 +86,7 @@ struct dom_html_br_element; #include "HTMLLegendElement.bnd" #include "HTMLLIElement.bnd" #include "HTMLLinkElement.bnd" +#include "HTMLMapElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -113,7 +114,6 @@ init HTMLTableSectionElement(struct dom_html_element *html_table_section_element init HTMLTableColElement(struct dom_html_element *html_table_col_element::html_element); init HTMLTableCaptionElement(struct dom_html_element *html_table_caption_element::html_element); init HTMLTableElement(struct dom_html_element *html_table_element::html_element); -init HTMLMapElement(struct dom_html_element *html_map_element::html_element); init HTMLMediaElement(struct dom_html_element *html_media_element::html_element); init HTMLTrackElement(struct dom_html_element *html_track_element::html_element); init HTMLParamElement(struct dom_html_element *html_param_element::html_element); -- cgit v1.2.3