mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[mujs] fragment.c
This commit is contained in:
parent
0fe99c1c01
commit
fa2d778c8d
@ -1,7 +1,8 @@
|
||||
top_builddir=../../..
|
||||
include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS = attr.o attributes.o collection.o collection2.o console.o css.o customevent.o dataset.o document.o domparser.o domrect.o element.o event.o form.o forms.o history.o implementation.o input.o \
|
||||
OBJS = attr.o attributes.o collection.o collection2.o console.o css.o customevent.o dataset.o document.o domparser.o domrect.o element.o event.o form.o forms.o fragment.o \
|
||||
history.o implementation.o input.o \
|
||||
keyboard.o localstorage.o location.o mapa.o message.o navigator.o nodelist.o nodelist2.o screen.o style.o tokenlist.o unibar.o url.o window.o xhr.o
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "ecmascript/mujs/event.h"
|
||||
#include "ecmascript/mujs/form.h"
|
||||
#include "ecmascript/mujs/forms.h"
|
||||
#include "ecmascript/mujs/fragment.h"
|
||||
#include "ecmascript/mujs/implementation.h"
|
||||
#include "ecmascript/mujs/location.h"
|
||||
#include "ecmascript/mujs/document.h"
|
||||
@ -1148,7 +1149,7 @@ mjs_document_createDocumentFragment(js_State *J)
|
||||
js_pushnull(J);
|
||||
return;
|
||||
}
|
||||
mjs_push_element(J, fragment);
|
||||
mjs_push_fragment(J, fragment);
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "Before: %s:%d\n", __FUNCTION__, __LINE__);
|
||||
#endif
|
||||
|
3548
src/ecmascript/mujs/fragment.c
Normal file
3548
src/ecmascript/mujs/fragment.c
Normal file
File diff suppressed because it is too large
Load Diff
17
src/ecmascript/mujs/fragment.h
Normal file
17
src/ecmascript/mujs/fragment.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef EL__ECMASCRIPT_MUJS_FRAGMENT_H
|
||||
#define EL__ECMASCRIPT_MUJS_FRAGMENT_H
|
||||
|
||||
#include <mujs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void mjs_push_fragment(js_State *J, void *node);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
@ -1,3 +1,3 @@
|
||||
srcs += files('attr.c', 'attributes.c', 'collection.c', 'collection2.c', 'console.c', 'css.c', 'customevent.c', 'dataset.c', 'document.c', 'domparser.c', 'domrect.c',
|
||||
'element.c', 'event.c', 'form.c', 'forms.c', 'history.c', 'implementation.c', 'input.c', 'keyboard.c',
|
||||
'element.c', 'event.c', 'form.c', 'forms.c', 'fragment.c', 'history.c', 'implementation.c', 'input.c', 'keyboard.c',
|
||||
'localstorage.c', 'location.c', 'mapa.c', 'message.c', 'navigator.c', 'nodelist.c', 'nodelist2.c', 'screen.c', 'style.c', 'tokenlist.c', 'unibar.c', 'url.c', 'window.c', 'xhr.c')
|
||||
|
Loading…
Reference in New Issue
Block a user