Google Groups Home
Help | Sign in
Message from discussion when I open firefox error console, there are quite a few warning messages...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Burak Gürsoy  
View profile
 More options Feb 22, 4:23 pm
From: "Burak Gürsoy" <burakgur...@gmx.net>
Date: Fri, 22 Feb 2008 13:23:28 -0800 (PST)
Local: Fri, Feb 22 2008 4:23 pm
Subject: Re: when I open firefox error console, there are quite a few warning messages...
Actually, this is not an error but a warning. My codes have this too.
However, since the master site is down for almost 4 months, this can't
be easily fixed I believe :p

But you're right the Ajax code is buggy. It must be

if (! Ajax) Ajax = {};

or

if ( typeof(Ajax) == "undefined" ) Ajax = {};

On 13 Şubat, 03:32, "Sun Yi-Ming" <dolm...@gmail.com> wrote:

> I know, I just thought that as a minus bug.
> In many other modules, say Ajax.js, in line 40
> `if (! this.Ajax) Ajax = {};' will issue a message 'assignment to
> undeclared variable Ajax', does this need to be "var Ajax = {};"?

> 2008/2/13, Burak Gürsoy <burakgur...@gmx.net>:

> > FYI: You can get the same warning with ActiveState Komodo. Putting a
> > "    return null;" to that line will silence it...

> > On 11 Şubat, 21:37, John Cappiello <j...@apt202.net> wrote:
> > > On Sat, Feb 09, 2008 at 01:36:39AM -0800, dolm...@gmail.com wrote:
> > > > like `anonymous function does not always return a value - line 201
> > > > JSAN.js', it's annoying, is there someone who cares it besides me?

> > > I have not seen this, but I'll check.  Do you have strict on?

> > > --
> > > jcap

> --
> Sincerely,

> 孙一鸣 Simon Sun
> --
> Be a man with simple interface.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google