summaryrefslogtreecommitdiff
path: root/javascript/duktape
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/duktape')
-rw-r--r--javascript/duktape/HTMLPreElement.bnd15
-rw-r--r--javascript/duktape/netsurf.bnd2
2 files changed, 16 insertions, 1 deletions
diff --git a/javascript/duktape/HTMLPreElement.bnd b/javascript/duktape/HTMLPreElement.bnd
new file mode 100644
index 000000000..06f6a76a9
--- /dev/null
+++ b/javascript/duktape/HTMLPreElement.bnd
@@ -0,0 +1,15 @@
+/* HTML li 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 HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
+
+getter HTMLPreElement::width();
+setter HTMLPreElement::width();
+
diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd
index 2747ddf8b..b44c858f2 100644
--- a/javascript/duktape/netsurf.bnd
+++ b/javascript/duktape/netsurf.bnd
@@ -95,6 +95,7 @@ struct dom_html_br_element;
#include "HTMLOListElement.bnd"
#include "HTMLParagraphElement.bnd"
#include "HTMLParamElement.bnd"
+#include "HTMLPreElement.bnd"
#include "HTMLQuoteElement.bnd"
#include "HTMLScriptElement.bnd"
#include "HTMLSelectElement.bnd"
@@ -134,7 +135,6 @@ init HTMLDataElement(struct dom_html_element *html_data_element::html_element);
init HTMLDivElement(struct dom_html_element *html_div_element::html_element);
init HTMLDListElement(struct dom_html_element *html_d_list_element::html_element);
init HTMLUListElement(struct dom_html_element *html_u_list_element::html_element);
-init HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
init HTMLHeadElement(struct dom_html_element *html_head_element::html_element);
/* specialisations of HTMLTableCellElement */