jshint/jshint — Issue #427: Redefinition of 'APP' error for global namespace object
Author: romario333
Created: 2012-01-20 14:31:51+00:00
State: open

I often use this pattern at the start of the script file:

```javascript
/*global APP*/

var APP = APP || {};
```

Its purpose is to have single global object representing application or library, to which I add modules from several different files. Jshint marks this as an error:

`Redefinition of 'APP'.`

I don't see any problem with this code, I believe it is correct.