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
appengine/genetics/js/cage.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
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;
319
  var firstMouseInQueue = Genetics.Cage.nextRoundMice_[0];
320
  for (var i = 0, mouse; mouse = Genetics.Cage.nextRoundMice_[i]; i++) {
321
    if (!isTimeExpired &&
322
        (mouse.pickFightOwner != firstMouseInQueue.pickFightOwner ||
323
        mouse.proposeMateOwner != firstMouseInQueue.proposeMateOwner ||
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