I think I must be missing something here. Nathan, in your example from
the blog, my understanding is that I should be be able to get a result
from:

var msg = new Secret();
alert(msg.Privates.secret);

... and yet, there it is. I can easily access private functions and
variables from outside the object. Can you help me understand?

Thanks!
rjs


On Oct 10, 1:47 pm, "Nathan White" <[EMAIL PROTECTED]> wrote:
> ok. I have made two updates to my Privates Mutator.
>
> Now if you pass in functions into the privates object a bind is created to
> the class.
>
> http://www.nwhite.net/2008/10/10/private-methods-with-mootools-update2/
>
> an example is provided.

Reply via email to