On Wed, Apr 20, 2011 at 4:44 PM, Patrick Barnes <[email protected]> wrote:
> If you change
> var events = doc.events;
> to
> var events = clone doc.event;

Would be great, but afaik there doesn't exist a 'clone' operator in
Javascript. Virtually all JS frameworks provide a method (such as
jQuery's 'extend' or Prototype's Object.clone), but in vanilla
Javascript no such method exists.

-- Hay

Reply via email to