I see what the problem is: due to a bug in the function, thread may be neither -1 nor a string. But the reason why is a question for another topic.
On Jan 5, 9:35 am, FractalBob <[email protected]> wrote: > Hi, > > background.html of my extension has a function that's supposed to > return a string value, as follows: > > return thread != -1 ? thread : ""; > > This used to work, but all of a sudden, it seems to be returning > 'undefined'. Correct me if I'm wrong, but doesn't the above return "" > if thread = -1 and thread if it does not? Like I say, this used to > work and I haven't changed anything in the code. > > Bob
-- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.
