vizicities icon indicating copy to clipboard operation
vizicities copied to clipboard

Operative requires a polyfill for Promises in Internet Explorer

Open brianchirls opened this issue 9 years ago • 1 comments

If I try to run one of the 0.2.0 examples in IE11, I get this error when building tiles start to load:

"Operative: No callback has been passed. Assumed that you want a promise. But operative.Promise is null. Please provide Promise polyfill/lib."

I can stack-trace the error back to here https://github.com/vizicities/vizicities/blob/0.2.0/src/Blueprint/BlueprintOutputBuildingTiles.js#L183

brianchirls avatar Dec 15 '14 19:12 brianchirls

Looks like we should be able to drop in Promise.js from Operative and have it working. I don't have an IE machine to hand right now but I'll get round to this when I can unless someone else wants to try it before then.

robhawkes avatar Dec 16 '14 10:12 robhawkes