mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] debug in check_for_rerender
This commit is contained in:
parent
8c7223882a
commit
33d8c551ea
@ -441,6 +441,7 @@ render_document(struct view_state *vs, struct document_view *doc_view,
|
||||
process_snippets(vs->ecmascript,
|
||||
&vs->ecmascript->onload_snippets,
|
||||
&vs->ecmascript->current_onload_snippet);
|
||||
check_for_rerender(vs->ecmascript, "process_snippets");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -278,6 +278,9 @@ delayed_reload(void *data)
|
||||
void
|
||||
check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
|
||||
{
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s %s %d\n", __FILE__, __FUNCTION__, text, interpreter->changed);
|
||||
#endif
|
||||
if (interpreter->changed) {
|
||||
struct document_view *doc_view = interpreter->vs->doc_view;
|
||||
struct document *document = doc_view->document;
|
||||
|
Loading…
Reference in New Issue
Block a user