ok, so I get Uncaught TypeError: Cannot read property 'setText' of undefined

On Friday, February 20, 2015 at 9:57:24 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Andrew
>
> > Thank you for looking at this. Well, I tried it and now I have a setText 
> error message. I'm wondering if I'm trying to do something before a 
> function is defined? I can't run developer tools from my phone. Do I have 
> to pass "text" and "null" as params? I thought that setText didn't need 
> them.
>
> Wow, I would never have guessed that you'd be doing this on a phone, 
> that's pretty impressive. I fear it may also be impractical to do JS 
> development without being able to see the error messages.
>
> Anyhow, wiki.setText is defined like this:
>
> exports.setText = function(title,field,index,value) {
>
> So, when you call it, you basically need to specify all those parameters 
> (you can omit unused ones at the end of the list, but in this case you want 
> to pass a value for the parameter "value", which is at the end of the list).
>
> What does the error message say?
>
> Best wishes
>
> Jeremy
>
>
>
>
>
> On Thu, Feb 19, 2015 at 7:21 PM, Andrew <[email protected] 
> <javascript:>> wrote:
>
>> Thank you for looking at this. Well, I tried it and now I have a setText 
>> error message. I'm wondering if I'm trying to do something before a 
>> function is defined? I can't run developer tools from my phone. Do I have 
>> to pass "text" and "null" as params? I thought that setText didn't need 
>> them.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWikiDev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywikidev.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to