[Proto-Scripty] Re: Help needed, its got to be simple

2010-07-15 Thread T.J. Crowder
Hi, Why does the function quotes (within the class) fail when the exact same function dquote (outside the class) works fine. The function's fine; what's happening is that you're trying to use an undefined symbol (in `doc_name`, `quotes` is undefined). `this` is *never* implicit in JavaScript

[Proto-Scripty] Re: Help needed, its got to be simple

2010-07-15 Thread Zortag
Thanks, TJ. Especially for the explanation and the pointers, that this is not automatic clears up a lot. On Jul 15, 5:41 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, Why does the function quotes (within the class) fail when the exact same function dquote (outside the class) works