Well, obviously it's not that big of a problem, since changing all the
const calls to var is a quick/simple fix.  I was more curious if the
ability to use const's was gone, as it was my understanding that they
are better performance wise than 'var'.

Script: http://userscripts.org/scripts/source/14189.user.js

Error: redeclaration of const SELECTORS
Source file: 
file:///xx/modified_gmail_macros_v_/modified_gmail_macros_v_.user.js
Line: 99

Thanks.

On Jan 30, 7:22 am, Anthony Lieuallen <[email protected]> wrote:
> On 1/30/2009 10:02 AM, Brent Nef wrote:
>
> > Are "const" variables not allowed any more?  After installing this
> > version I get errors popping up about "redeclaration of VARNAME".
>
> Well besides the fact that calling it a "const variable" doesn't make
> sense ( ;-) ), no nothing about that should have changed.
>
> Can you provide the entire source of an example script that produces
> this, and the exact full text of the error?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" 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/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to