2012/2/24 lkcl luke <[email protected]>:
> a few things need tidying up - there's a "recursion exceeded" error
> you can see the results of, in the left pane: this never happened
> before.  also the layout has a couple of "whoopsies", and the
> "loading" gif never disappears, remaining behind the tabs.

Pardon me, a "recursion exceeded" error? Can you do a clean 'git
clone' of the repository, and try to build the pyjs_site again?
There is no error, neither with pyjsbuild nor with the resulting
application in the web browser.
Also, with a build from a freshly cloned repository the layout is
identical to the screenshots I posted. No flaws whatsoever. What do
you see?

> the addition of that "loading" gif therefore really needs to be done
> *by* the bootstrap js loader (very early, obviously) *not* blopped
> onto the static HTML in the random hope that it will go away.

There is no random hope: the loading gif is hidden by the pink area as
soon as the site is drawn. There is no explicit need to remove it from
the DOM or set its style to display:none, or whatever. That's not
necessary. Not for the website. And, there is no place better than the
static HTML to show a simple image, when it's of non-dynamic nature
(no real progress indicator, just a stupid animation), as early as
possible. What if something goes wrong with reading the bootstrap.js?
Opera 11 shows such a behaviour when returning to the site with the
back button. Nothing would be shown when bootstrap.js were responsible
for the progress indicator image---with the image in the static HTML,
however, the indicator shows up. After a while with no progress you
wonder why "nothing happens", and ask the Opera browser to reload,
then the bootstrap.js is loaded normally and the app works. I've
tested this serveral times.

So, if you really really by all means want that in the bootstrap
loader, what shall I do? Take the bootstrap.js from the ./output
folder, modify it, copy it to ./public, add and commit it? Please
advise.

Peter

Reply via email to