Make pattern loading work on IE10.

yes, loadedPathPatterns does much the same as before.. attempt to preload
the images and set no pattern if they're not on that list.


On Wed, Nov 19, 2014 at 11:15 AM, Bjvanminnen <notifications@github.com>
wrote:

> In blockly/src/turtle/turtle.js:
>
> >      Turtle.isDrawingWithPattern = false;
> > -  } else {
> > -    Turtle.patternForPaths = pattern;
> > -    Turtle.isDrawingWithPattern = true;
>
> What's the desired behavior if we have a pattern that is not in
> loadedPathPatterns. Right now setPattern will do nothing - is that right?
> Also, in terms of style the else if should be on the same line as the
> close brace above it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/code-dot-org/code-dot-org/pull/491/files#r20599351>.
>