apankrat/nullboard

Browser compatibility

Closed this issue · 5 comments

Apart from that one call to Object.assign, the rest of the code seems to be compatible with older browsers. Could you add a polyfill for Object.assign to make this app work also in older browsers?

Gotta plead ignorance here. Do you know if there is any suitable substitute in jQuery for that? I suspect there might be.

PS. What's browser do you use that doesn't support Object.assign? MDN doesn't show any mainstream ones lacking this support.

Actually there is a substitute in jQuery, namely $.extend (https://api.jquery.com/jquery.extend/). You can directly substitue that Object.assign call like this:

return $.extend(new Board, board);

PS. I'm stuck on an older version of Chromium (version 37).

OK, excellent, thanks. Will patch up as time permits.

OK, resolved with f845287