Filter by:
File Violation Severity
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
308
  if (Genetics.Cage.nextRoundMice_.length == 0) {
309
    new Genetics.Cage.Event('END_GAME', false, playerRankings).addToQueue();
310
    return true;
311
  }
312
  // Find which players have majority for each function.
313
  var playerFunctionCounts = {
314
    'pickFight' : [0, 0, 0, 0],
315
    'proposeMate' : [0, 0, 0, 0],
316
    'acceptMate' : [0, 0, 0, 0]
317
  };
318
  var isTimeExpired = Genetics.Cage.roundNumber_ > Genetics.Cage.MAX_ROUNDS;
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/pond/js/avatar.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice