JSLint doesn't like using new function
. This makes sense, because you're just creating a singleton, and so there's no point in using a constructor for that. If you have something like this:
var NowWithClosures = Backbone.Model.extend(new function(){
var x = 1;
this.initialize = function(){
console.log('init');
};
this.AddOneToX = function(){
x++;