Skip to content

$l.types.observable raises Object.observe is not a function #47

@userabuser

Description

@userabuser

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions