I have the following object in file remover.js:
'use strict';
(function( remover, $, undefined ) {
// ...
// Object's definition
// ...
}( window.remover = window.remover || {}, jQuery ));
This is used on the external file main.js:
'use strict';
remover.doSomething();
The code is working but JSHint throws the following problem:
Running "jshint:all" (jshint) task
app/scripts/stuff/main.js
line 3 col 1 'remover' is not defined.
✖ 1 problem
How to remove this warning?