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
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
186
  var scan1 = BlocklyGames.normalizeAngle(degree - resolution / 2);
187
  var scan2 = BlocklyGames.normalizeAngle(degree + resolution / 2);
188
  if (scan1 > scan2) {
189
    scan2 += 360;
190
  }
191
  var locX = this.loc.x;
192
  var locY = this.loc.y;
193
  // Check every enemy for existence in the scan beam.
194
  var closest = Infinity;
195
  for (var i = 0, enemy; enemy = this.battle_.AVATARS[i]; i++) {
196
    if (enemy == this || enemy.dead) {
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