pyrsmk/molt — pull request #9 by jweir (2012-03-30 20:34:57+00:00)
Title: Load order and rediscovery

Hi Aurélien,

Molt is very interesting. I like the approach.

A couple of things I noticed when trying it out. I have it on a page with a lot of images and they were loading from last to first (not what I wanted).

So I fixed that.

Also running `discover()` more than once increases the `nodes` array with duplicates. So I marked the images as discovered.

And discover returns the nodes. I just did this so I could test the flagging code, but it could be handy.

Cheers - John