locache icon indicating copy to clipboard operation
locache copied to clipboard

Deferred implementation failing in IE8.

Open d0ugal opened this issue 12 years ago • 6 comments

There is a bug with the postMessage code that I've not been able to figure out yet.

d0ugal avatar Aug 19 '12 18:08 d0ugal

I would recommend you using Promise to implement the deferred/async stuff because developers already know the pattern. Please don't introduce your own framework to handle that. http://modernjavascript.blogspot.co.at/2013/09/promise-patterns.html http://12devs.co.uk/articles/promises-an-alternative-way-to-approach-asynchronous-javascript/ https://gist.github.com/domenic/3889970

SeriousM avatar Nov 21 '13 09:11 SeriousM

Contributions welcome! I'm no longer actively working on this.

d0ugal avatar Nov 21 '13 09:11 d0ugal

@d0ugal, i know this is an old topic but... what about beacking the backwards compatibility? If u accept i can make a pull request with the Promises implementation.

sipmann avatar Jun 22 '15 15:06 sipmann

Sure, I would be happy to merge that.

d0ugal avatar Jun 22 '15 15:06 d0ugal

do u want to make the version yourself?

sipmann avatar Jun 22 '15 15:06 sipmann

@sipmann We can worry about that after the change happens - but if you want to do it you can.

d0ugal avatar Jun 22 '15 15:06 d0ugal