mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[quickjs] document.write does not work
This commit is contained in:
parent
3720694d0d
commit
92850a2aa4
@ -338,6 +338,8 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
|
||||
|
||||
foreach(item, interpreter->writecode) {
|
||||
if (item->string.length) {
|
||||
// TODO
|
||||
#if 0
|
||||
std::map<int, xmlpp::Element *> *mapa = (std::map<int, xmlpp::Element *> *)document->element_map;
|
||||
|
||||
if (mapa) {
|
||||
@ -370,11 +372,14 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
|
||||
xmlpp::Node::remove_node(el);
|
||||
} else {
|
||||
fromstart:
|
||||
#endif
|
||||
add_fragment(cached, 0, item->string.source, item->string.length);
|
||||
document->ecmascript_counter++;
|
||||
break;
|
||||
#if 0
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user