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

[libdom] location.cpp

This commit is contained in:
Witold Filipczyk 2023-04-17 20:12:52 +02:00
parent 3a4bc2caf1
commit 93e082e8ef
4 changed files with 1029 additions and 2 deletions

View File

@ -2,6 +2,6 @@ top_builddir=../../..
include $(top_builddir)/Makefile.config
INCLUDES += $(SPIDERMONKEY_CFLAGS)
OBJS = localstorage.obj message.obj navigator.obj screen.obj unibar.obj window.obj xhr.obj
OBJS = localstorage.obj location.obj message.obj navigator.obj screen.obj unibar.obj window.obj xhr.obj
include $(top_srcdir)/Makefile.lib

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
srcs += files('localstorage.cpp', 'message.cpp', 'navigator.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp', 'xhr.cpp')
srcs += files('localstorage.cpp', 'location.cpp', 'message.cpp', 'navigator.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp', 'xhr.cpp')

View File

@ -45,6 +45,8 @@
#include "viewer/text/link.h"
#include "viewer/text/vs.h"
#ifndef CONFIG_LIBDOM
static void location_goto_common(JSContext *ctx, struct document_view *doc_view, JS::HandleValue val);
static bool location_get_property_hash(JSContext *ctx, unsigned int argc, JS::Value *vp);
static bool location_set_property_hash(JSContext *ctx, unsigned int argc, JS::Value *vp);
@ -1022,3 +1024,4 @@ location_goto_common(JSContext *ctx, struct document_view *doc_view, JS::HandleV
mem_free(url);
}
}
#endif