Not supported on IE8 and below, but otherwise should the available pretty
much every where.


On Fri, Aug 23, 2013 at 9:13 AM, oterral <notifications@github.com> wrote:

> In src/components/importkml/ImportKmlDirective.js:
>
> > +                      }
> > +
> > +                      for (var j = 0, length2 = types.length; j < length2;
> > +                          j++) {
> > +                        if (types[j].toLowerCase() === allowedFormats[i]) {
> > +                          droppable = true;
> > +                          break;
> > +                        }
> > +                      }
> > +                    }
> > +
> > +                    if (droppable) {
> > +                      dropZone.css('display', 'table');
> > +                    }
> > +
> > +                  }
> >                  });
>
> Nice tip, that's exactly was I'm looking for, but didn't know indexOf on
> array exists. Thx.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/geoadmin/mf-geoadmin3/pull/270/files#r5944764>
> .
>