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
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
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 ||
324
        mouse.acceptMateOwner != firstMouseInQueue.acceptMateOwner)) {
325
      // If time hasn't expired and there is not a domination victory, it is not
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