Javascript monitoring

Yesterday my friend Dave added his blog to Technorati, he sent me this e-mail:

Rank: 2,357,164 (0 links from 0 sites)
That would put me in last place. You can help.

Hopefully this blog entry will fix that. :-)

To not be a completely friend-serving post, I’ll mention that Dave has a short entry on Javascript watch(). A few months back I wanted to write a short blog entry on this little-known, highly-useful feature, but linking this blog entry saves me the trouble (and ups his vanity rating).

About tychay

Test
This entry was posted in web development. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

One Response to Javascript monitoring

  1. tychay says:

    Frozen O adds call() and apply().

    The point of these methods is that when you want to callback to a method inside an object, the this variable often has unintended scope. It’s the the scope of when the callback is called (usually window) instead of the scope of the object itself. By using call() or apply() (just different syntactical ways of expressing the same thing), you can do a callback to an object.

    Normally, I do this by manually constructing the closure, but this method of a generalized function is much more clever (and PHP-like syntax).

    I’ll have to add that feature to my base function toolset.

Leave a Reply

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>