Safari and watch function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • andy.kriger@gmail.com

    Safari and watch function

    Like IE, Safari does not appear to support Object.watch().
    Unlike IE, Safari also does not support onpropertychang e.
    Does Safari have a solution to watching a property for value
    assignment?

    thank you
  • Thomas 'PointedEars' Lahn

    #2
    Re: Safari and watch function

    andy.kriger@gma il.com wrote:
    Like IE, Safari does not appear to support Object.watch().
    Unlike IE, Safari also does not support onpropertychang e.
    Does Safari have a solution to watching a property for value
    assignment?
    Microsoft JScript and Apple JavaScriptCore do not support Object.watch() or,
    more appropriately, Object.prototyp e.watch() because this is a proprietary
    feature of JavaScript, Netscape/Mozilla.org's ECMAScript implementation, as
    supported by Netscape Navigator 4.x and Gecko-based user agents.

    IE/MSHTML also does not support an `onpropertychan ge' property for native
    objects which could provide for an alternative to that.

    Since proprietary features like this are of little interest in a Web
    context, you should look up the Safari documentation and source code for an
    answer to your question, and report your findings here.


    PointedEars
    --
    var bugRiddenCrashP ronePieceOfJunk = (
    navigator.userA gent.indexOf('M SIE 5') != -1
    && navigator.userA gent.indexOf('M ac') != -1
    ) // Plone, register_functi on.js:16

    Comment

    Working...