mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[spidermonkey] input in separate file
This commit is contained in:
parent
183dca1c10
commit
a804233ea7
@ -2,7 +2,7 @@ top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||
|
||||
OBJS = attr.o attributes.o collection.o console.o document.o element.o form.o heartbeat.o history.o implementation.o \
|
||||
OBJS = attr.o attributes.o collection.o console.o document.o element.o form.o heartbeat.o history.o implementation.o input.o \
|
||||
location.o localstorage.o navigator.o nodelist.o screen.o unibar.o window.o
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,3 @@
|
||||
|
||||
#ifndef EL__ECMASCRIPT_SPIDERMONKEY_FORM_H
|
||||
#define EL__ECMASCRIPT_SPIDERMONKEY_FORM_H
|
||||
|
||||
@ -6,6 +5,7 @@
|
||||
|
||||
struct form;
|
||||
|
||||
extern JSClass form_class;
|
||||
extern JSClass forms_class;
|
||||
extern const spidermonkeyFunctionSpec forms_funcs[];
|
||||
extern JSPropertySpec forms_props[];
|
||||
@ -13,4 +13,6 @@ extern JSPropertySpec forms_props[];
|
||||
JSObject *get_form_object(JSContext *ctx, JSObject *jsdoc, struct form *form);
|
||||
JSObject *getForms(JSContext *ctx, void *node);
|
||||
|
||||
JSString *unicode_to_jsstring(JSContext *ctx, unicode_val_T u);
|
||||
|
||||
#endif
|
||||
|
1957
src/ecmascript/spidermonkey/input.c
Normal file
1957
src/ecmascript/spidermonkey/input.c
Normal file
File diff suppressed because it is too large
Load Diff
10
src/ecmascript/spidermonkey/input.h
Normal file
10
src/ecmascript/spidermonkey/input.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef EL__ECMASCRIPT_SPIDERMONKEY_INPUT_H
|
||||
#define EL__ECMASCRIPT_SPIDERMONKEY_INPUT_H
|
||||
|
||||
#include "ecmascript/spidermonkey/util.h"
|
||||
|
||||
struct form_state;
|
||||
|
||||
JSObject *get_input_object(JSContext *ctx, struct form_state *fs);
|
||||
|
||||
#endif
|
@ -1,3 +1,3 @@
|
||||
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||
|
||||
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'heartbeat.c', 'history.c', 'implementation.c', 'location.c', 'localstorage.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
|
||||
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'heartbeat.c', 'history.c', 'implementation.c', 'input.c', 'location.c', 'localstorage.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
|
||||
|
Loading…
Reference in New Issue
Block a user