From b516854d0a3e8d658c65d18176f8b44f9af8c48e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 14 Oct 2015 09:15:59 +0100 Subject: add automaticaly generated property setter and getters to HTMLParagraphElement --- javascript/duktape/HTMLParagraphElement.bnd | 14 ++++++++++++++ javascript/duktape/netsurf.bnd | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 javascript/duktape/HTMLParagraphElement.bnd (limited to 'javascript/duktape') diff --git a/javascript/duktape/HTMLParagraphElement.bnd b/javascript/duktape/HTMLParagraphElement.bnd new file mode 100644 index 000000000..cc9ad83b5 --- /dev/null +++ b/javascript/duktape/HTMLParagraphElement.bnd @@ -0,0 +1,14 @@ +/* HTML paragraph 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 HTMLParagraphElement(struct dom_html_element *html_paragraph_element::html_element); + +getter HTMLParagraphElement::align(); +setter HTMLParagraphElement::align(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 3066a7c66..ddb98a7db 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -92,6 +92,7 @@ struct dom_html_br_element; #include "HTMLMetaElement.bnd" #include "HTMLObjectElement.bnd" #include "HTMLOptionElement.bnd" +#include "HTMLParagraphElement.bnd" init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); @@ -132,7 +133,6 @@ init HTMLUListElement(struct dom_html_element *html_u_list_element::html_element init HTMLOListElement(struct dom_html_element *html_o_list_element::html_element); init HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element); init HTMLPreElement(struct dom_html_element *html_pre_element::html_element); -init HTMLParagraphElement(struct dom_html_element *html_paragraph_element::html_element); init HTMLStyleElement(struct dom_html_element *html_style_element::html_element); init HTMLTitleElement(struct dom_html_element *html_title_element::html_element); init HTMLHeadElement(struct dom_html_element *html_head_element::html_element); -- cgit v1.2.3