laroux.js
laroux.js copied to clipboard
$l.types.observable raises Object.observe is not a function
Hi,
Unsure if this lib is in active development or now however I noticed issues with your observable
functionality.
Object.observe
is not supported by Firefox, IE and Safari and was deprecated in Chrome 49.
$l.types.observable
is not usable in any environment other than Chrome (>= 36 | <= 49)
or Opera (23)
There are a couple of solutions to remedy this for better cross-browser support:
https://github.com/MaxArt2501/object-observe https://github.com/Polymer/observe-js
Both support dirty checking...
References: https://esdiscuss.org/topic/an-update-on-object-observe https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/observe
Thank you for reporting this issue and support.
On next release, I'll be looking to use new Proxy
object internally if it can cover the functionality. For its browser support an additional polyfill can be used.