ah. Yeah I guess I think we should go with data-picturefill-foo, so that the JS and HTML namespaces are similar. @jansepar sound ok?



On Mar 26, 2014, at 12:22 PM, Sergi Meseguer <notifications@github.com> wrote:

> In src/picturefill.js:
> 
> >          // Loop through all images on the page that are `<picture>`
> >          var pictures = doc.getElementsByTagName("picture");
> >          for (var i=0, plen = pictures.length; i < plen; i++) {
> >              var picture = pictures[i];
> > +
> > +            // if a picture element has already been evaluated, skip it
> > +            // unless "forceEvaluate" is set to true (this, for example,
> > +            // is set to true when running `picturefill` on `resize`).
> > +            if (picture.hasAttribute('data-evaluated') && !forceEvaluate) {
> > +                continue;
> > +            };
> I think he means using data-picture-evaluated (or smth) instead of data-evaluated
> —
> Reply to this email directly or view it on GitHub.
>