mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[xhr] Implementation of xhr for quickjs. Compiles, but does not work.
This commit is contained in:
parent
5f682c5a71
commit
0fb0f8d020
@ -36,6 +36,7 @@
|
|||||||
#include "ecmascript/quickjs/screen.h"
|
#include "ecmascript/quickjs/screen.h"
|
||||||
#include "ecmascript/quickjs/unibar.h"
|
#include "ecmascript/quickjs/unibar.h"
|
||||||
#include "ecmascript/quickjs/window.h"
|
#include "ecmascript/quickjs/window.h"
|
||||||
|
#include "ecmascript/quickjs/xhr.h"
|
||||||
#include "intl/libintl.h"
|
#include "intl/libintl.h"
|
||||||
#include "main/select.h"
|
#include "main/select.h"
|
||||||
#include "osdep/newwin.h"
|
#include "osdep/newwin.h"
|
||||||
@ -117,6 +118,7 @@ quickjs_get_interpreter(struct ecmascript_interpreter *interpreter)
|
|||||||
js_console_init(ctx);
|
js_console_init(ctx);
|
||||||
js_localstorage_init(ctx);
|
js_localstorage_init(ctx);
|
||||||
js_element_init(ctx);
|
js_element_init(ctx);
|
||||||
|
js_xhr_init(ctx);
|
||||||
|
|
||||||
interpreter->document_obj = js_document_init(ctx);
|
interpreter->document_obj = js_document_init(ctx);
|
||||||
interpreter->location_obj = js_location_init(ctx);
|
interpreter->location_obj = js_location_init(ctx);
|
||||||
|
@ -3,6 +3,6 @@ include $(top_builddir)/Makefile.config
|
|||||||
|
|
||||||
OBJS = attr.obj attributes.obj collection.obj console.obj document.obj element.obj form.obj \
|
OBJS = attr.obj attributes.obj collection.obj console.obj document.obj element.obj form.obj \
|
||||||
forms.obj heartbeat.obj history.obj implementation.obj input.obj location.obj \
|
forms.obj heartbeat.obj history.obj implementation.obj input.obj location.obj \
|
||||||
localstorage.obj navigator.obj nodelist.obj screen.obj unibar.obj window.obj
|
localstorage.obj navigator.obj nodelist.obj screen.obj unibar.obj window.obj xhr.obj
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.lib
|
include $(top_srcdir)/Makefile.lib
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
srcs += files('attr.cpp', 'attributes.cpp', 'collection.cpp', 'console.cpp', 'document.cpp', 'element.cpp', 'form.cpp', 'forms.cpp', 'heartbeat.cpp', 'history.cpp', 'implementation.cpp',
|
srcs += files('attr.cpp', 'attributes.cpp', 'collection.cpp', 'console.cpp', 'document.cpp', 'element.cpp', 'form.cpp', 'forms.cpp', 'heartbeat.cpp', 'history.cpp', 'implementation.cpp',
|
||||||
'input.cpp', 'localstorage.cpp', 'location.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp')
|
'input.cpp', 'localstorage.cpp', 'location.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp', 'xhr.cpp')
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user