That's not possible. Functions and objects are passed by reference, do you have that example online so I can see ?
Ariel Flesler On 14 nov, 01:40, howa <[EMAIL PROTECTED]> wrote: > It is possible to completely move a particular plugin namespace into > other one? > > e.g. > > if (typeof Company == "undefined") { > var Company = {}; > > } > > Company.form = {}; > Company.form.validator = jQuery.validator; // Assume already loaded > > // Now I want to modify some of its internal value > Company.form.validator.messages.required= "My Required"; > > // However, it is different from > alert( $.validator.messages.required ); // Show the original value, > seems only a copy of validator is assigned to Company.form.validator, > but not pass its reference