Browser compatibility
Closed this issue · 5 comments
zigazeljko commented
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?
apankrat commented
Gotta plead ignorance here. Do you know if there is any suitable substitute in jQuery for that? I suspect there might be.
apankrat commented
PS. What's browser do you use that doesn't support Object.assign
? MDN doesn't show any mainstream ones lacking this support.
zigazeljko commented
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).
apankrat commented
OK, excellent, thanks. Will patch up as time permits.