mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[quickjs] document.c
This commit is contained in:
parent
816063401f
commit
8e47f62c9d
1710
src/ecmascript/quickjs/document.c
Normal file
1710
src/ecmascript/quickjs/document.c
Normal file
File diff suppressed because it is too large
Load Diff
8
src/ecmascript/quickjs/document.h
Normal file
8
src/ecmascript/quickjs/document.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#ifndef EL__ECMASCRIPT_QUICKJS_DOCUMENT_H
|
||||||
|
#define EL__ECMASCRIPT_QUICKJS_DOCUMENT_H
|
||||||
|
|
||||||
|
#include <quickjs/quickjs.h>
|
||||||
|
|
||||||
|
JSValue getDocument(JSContext *ctx, void *doc);
|
||||||
|
|
||||||
|
#endif
|
@ -11,7 +11,7 @@
|
|||||||
#include "elinks.h"
|
#include "elinks.h"
|
||||||
|
|
||||||
#include "ecmascript/ecmascript.h"
|
#include "ecmascript/ecmascript.h"
|
||||||
//#include "ecmascript/quickjs/document.h"
|
#include "ecmascript/quickjs/document.h"
|
||||||
#include "ecmascript/quickjs/implementation.h"
|
#include "ecmascript/quickjs/implementation.h"
|
||||||
#include "util/conv.h"
|
#include "util/conv.h"
|
||||||
|
|
||||||
@ -22,13 +22,6 @@
|
|||||||
|
|
||||||
static JSClassID js_implementation_class_id;
|
static JSClassID js_implementation_class_id;
|
||||||
|
|
||||||
JSValue
|
|
||||||
getDocument(JSContext *ctx, void *doc)
|
|
||||||
{
|
|
||||||
// placeholder
|
|
||||||
return JS_NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
static JSValue
|
static JSValue
|
||||||
js_implementation_createHTMLDocument(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
|
js_implementation_createHTMLDocument(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
|
||||||
{
|
{
|
||||||
|
@ -1 +1 @@
|
|||||||
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')
|
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.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')
|
||||||
|
Loading…
Reference in New Issue
Block a user