add automaticaly generated property setter and getters to HTMLScriptElement

This commit is contained in:
Vincent Sanders 2015-10-14 13:20:28 +01:00
parent 4f843d3b6f
commit c1937ee617
3 changed files with 33 additions and 15 deletions

View File

@ -1229,24 +1229,10 @@ getter HTMLProgressElement::value(double);\n
setter HTMLProgressElement::value(double);\n
getter HTMLScriptElement::async(boolean);\n
setter HTMLScriptElement::async(boolean);\n
getter HTMLScriptElement::charset(string);\n
setter HTMLScriptElement::charset(string);\n
getter HTMLScriptElement::crossOrigin(string);\n
setter HTMLScriptElement::crossOrigin(string);\n
getter HTMLScriptElement::defer(boolean);\n
setter HTMLScriptElement::defer(boolean);\n
getter HTMLScriptElement::event(string);\n
setter HTMLScriptElement::event(string);\n
getter HTMLScriptElement::htmlFor(string);\n
setter HTMLScriptElement::htmlFor(string);\n
getter HTMLScriptElement::nonce(string);\n
setter HTMLScriptElement::nonce(string);\n
getter HTMLScriptElement::src(string);\n
setter HTMLScriptElement::src(string);\n
getter HTMLScriptElement::text(string);\n
setter HTMLScriptElement::text(string);\n
getter HTMLScriptElement::type(string);\n
setter HTMLScriptElement::type(string);\n
method HTMLSelectElement::add();\n
getter HTMLSelectElement::autocomplete(string);\n
setter HTMLSelectElement::autocomplete(string);\n

View File

@ -0,0 +1,32 @@
/* HTML script 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 HTMLScriptElement(struct dom_html_element *html_script_element::html_element);
getter HTMLScriptElement::charset();
setter HTMLScriptElement::charset();
getter HTMLScriptElement::defer();
setter HTMLScriptElement::defer();
getter HTMLScriptElement::event();
setter HTMLScriptElement::event();
getter HTMLScriptElement::htmlFor();
setter HTMLScriptElement::htmlFor();
getter HTMLScriptElement::src();
setter HTMLScriptElement::src();
getter HTMLScriptElement::text();
setter HTMLScriptElement::text();
getter HTMLScriptElement::type();
setter HTMLScriptElement::type();

View File

@ -95,12 +95,12 @@ struct dom_html_br_element;
#include "HTMLParagraphElement.bnd"
#include "HTMLParamElement.bnd"
#include "HTMLQuoteElement.bnd"
#include "HTMLScriptElement.bnd"
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
init HTMLCanvasElement(struct dom_html_element *html_canvas_element::html_element);
init HTMLTemplateElement(struct dom_html_element *html_template_element::html_element);
init HTMLScriptElement(struct dom_html_element *html_script_element::html_element);
init HTMLDialogElement(struct dom_html_element *html_dialog_element::html_element);
init HTMLMenuItemElement(struct dom_html_element *html_menu_item_element::html_element);
init HTMLDetailsElement(struct dom_html_element *html_details_element::html_element);