1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[quickjs] input.c

This commit is contained in:
Witold Filipczyk 2021-11-03 21:52:31 +01:00
parent 01675c6270
commit 81cd0282cf
4 changed files with 1497 additions and 9 deletions

View File

@ -24,7 +24,7 @@
//#include "ecmascript/spidermonkey/document.h"
#include "ecmascript/quickjs/form.h"
#include "ecmascript/quickjs/forms.h"
//#include "ecmascript/quickjs/input.h"
#include "ecmascript/quickjs/input.h"
#include "ecmascript/quickjs/window.h"
#include "intl/libintl.h"
#include "main/select.h"
@ -101,13 +101,6 @@ spidermonkey_moved_form_state(struct form_state *fs)
}
#endif
JSValue
js_get_input_object(JSContext *ctx, struct form_state *fs)
{
// TODO
return JS_NULL;
}
static JSValue
js_get_form_control_object(JSContext *ctx,
enum form_type type, struct form_state *fs)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
#ifndef EL__ECMASCRIPT_QUICKJS_INPUT_H
#define EL__ECMASCRIPT_QUICKJS_INPUT_H
#include <quickjs/quickjs.h>
struct form_state;
JSValue js_get_input_object(JSContext *ctx, struct form_state *fs);
#endif

View File

@ -1 +1 @@
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'element.c', 'form.c', 'forms.c', 'history.c', 'implementation.c', 'localstorage.c', 'location.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'element.c', 'form.c', 'forms.c', 'history.c', 'implementation.c', 'input.c', 'localstorage.c', 'location.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')