Empty functions in Javascript

I don’t know what jsLint thinks but if this is a problem and you need a solution then you can do something like the following: var blah = function() { return undefined; }; // or just return; Update : I think, Bergi‘s guess is right because, on the jslint site in the Required Blocks section … Read more

Dealing with duplicate declaration warning for loop variables

JavaScript has many constructions which look like well-known constructions in other computer languages. It’s dangerous for JavaScript to interpret the construction in another way as most other computer languages. If somebody who doesn’t know JavaScript good enough (the common case by the way) sees the construction like for (var i=0; i<100; i++) { // your … Read more

Is there a working JSLint Eclipse plug-in?

Use this: In Eclipse, Install New Software to http://svn.codespot.com/a/eclipselabs.org/mobile-web-development-with-phonegap/tags/r1.2/download I used jslint4java to add jslint to the Eclipse plugin for Android PhoneGap development. If you’re not interested in PhoneGap or Android, you can choose only the jslint4java feature in the install wizard Usage information here.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)