summaryrefslogtreecommitdiff
path: root/javascript/duktape
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-10-14 09:15:59 +0100
committerVincent Sanders <vince@kyllikki.org>2015-10-14 09:15:59 +0100
commitb516854d0a3e8d658c65d18176f8b44f9af8c48e (patch)
treef64034f2d76dde6d4ba7bb1d83b852fb2800e78a /javascript/duktape
parent2b71eef7637e95617f7c5bd880e41106c989fdfe (diff)
downloadnetsurf-b516854d0a3e8d658c65d18176f8b44f9af8c48e.tar.gz
netsurf-b516854d0a3e8d658c65d18176f8b44f9af8c48e.tar.bz2
add automaticaly generated property setter and getters to HTMLParagraphElement
Diffstat (limited to 'javascript/duktape')
-rw-r--r--javascript/duktape/HTMLParagraphElement.bnd14
-rw-r--r--javascript/duktape/netsurf.bnd2
2 files changed, 15 insertions, 1 deletions
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 <vince@netsurf-browser.org>
+ *
+ * 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);