On Fri, Oct 2, 2009 at 12:10 AM, Michael Geary wrote:
> Don't take offense. I looked at your page and searched for Object.prototype
> and found several references to it. I guess I should have investigated
> further to figure out if you were actually modifying it or not. But you must
> know that t
Don't take offense. I looked at your page and searched for Object.prototype
and found several references to it. I guess I should have investigated
further to figure out if you were actually modifying it or not. But you must
know that the mere mention of Object.prototype will cause people to freak
o
That's how much you pay attention over links, right? Now please tell me
where exactly my solution extends Object.prototype the watch method is
the simulated one, nobody there extended anything, there is a function,
createWatcher.
Regards
On Thu, Oct 1, 2009 at 10:55 PM, Michael Geary wrote:
Your JSON data doesn't just "get modified" out of the blue. Somewhere, some
JavaScript code modifies it. That's where you need to do your updating.
You don't need magic, you just need a function call.
Regarding the HTML generation, there are a number of ways to do that. What
you pick may depend o
Extending Object.prototype will break jQuery.
On Thu, Oct 1, 2009 at 2:10 PM, Andrea Giammarchi <
[email protected]> wrote:
> You could use Object.prototype.watch, compatible with IE with my
> createWatcher strategy ... this is not strictly jQuery related, but it
> worked for me, hope i
You could use Object.prototype.watch, compatible with IE with my
createWatcher strategy ... this is not strictly jQuery related, but it
worked for me, hope it will help:
http://webreflection.blogspot.com/2009/01/internet-explorer-object-watch.html
Regards
On Tue, Sep 29, 2009 at 3:50 PM, Nathan B
The only thing i can think of offhand is to set up an interval that
checks for modifications and fires an event when it detects one.
Seems like a pretty heavy solution though.
As for the JSON-DOM binding, the Values plugin does that and can
handle complex (nested, arrays, etc) objects too.
http:/
Can you post your Observer/Observable pattern?
On Tue, Sep 29, 2009 at 2:49 AM, Cory wrote:
>
> Hi All,
>
> I'm new to the discussion boards so my apologies if this question has
> been answered, (I searched but maybe I wasn't calling it the right
> thing.)
>
> I'd like to create a JSON backing d