edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] prerender
@ 2015-09-10 17:35 Karl Dahlke
  0 siblings, 0 replies; only message in thread
From: Karl Dahlke @ 2015-09-10 17:35 UTC (permalink / raw)
  To: Edbrowse-dev

Ok sometimes it's time for a redesign.

Without js I just call render and go.
With js I have to decorate the tree with the js objects,
run js scripts etc, and then render.
All good, but there are some things render does, normalizing the text
and values and attributes etc, that have to be done before js starts.
But of course js has to preceed render.
So now I have to step back and write prerender() to do this preparation,
then call decorate() if js is active, then call render.
I'll have my head in this redesign for a day or so.

At the top of html.c is a variable testnew, which is 0,
but locally I set it to 1 to test the new stuff.
You don't want to set it to 1 in your build, not for a while anyways.   :)

Karl Dahlke

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-10 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-10 17:35 [Edbrowse-dev] prerender Karl Dahlke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).