[Phpmyadmin-devel] jshint errors

Marc Delisle marc at infomarc.info
Tue Apr 16 16:47:38 CEST 2013

Michal Čihař a écrit :
> Hi
> Dne Tue, 16 Apr 2013 06:33:52 -0400
> Marc Delisle <marc at infomarc.info> napsal(a):
>> Le 2013-04-16 03:06, Michal Čihař a écrit :
>>> I think PMA_messages.strSave is shorter and looks nicer than
>>> PMA_messages['strSave'], though I don't have strong opinion on that.
>>> Also with messages (the most frequent of this warning in our case) we
>>> can be pretty sure we don't use reserved words, so the dot syntax is
>>> always safe here.
>> I also think the dot notation is better, and here is another reason. 
>> When seeing the string in quotes, I always wonder whether the string 
>> 'strSave' will be shown to the user.
> I've made pull request for this change:
> https://github.com/phpmyadmin/phpmyadmin/pull/257
> Please review and eventually merge that.

Looks great, merged.

Marc Delisle

More information about the Developers mailing list