Fix incorrectly named var and remove unneccessary semicolon

This commit is contained in:
Alasdair Smith 2017-09-19 14:25:30 +01:00
parent d0b64b317f
commit 963a14b33c

View file

@ -82,7 +82,7 @@ define [
timeSinceLastCompile = Date.now() - $scope.recompiledAt
# If time is non-monotonic, assume that the user's system clock has been
# changed and continue with recompile
isTimeNonMonotonic = timeSinceLastPoll < 0;
isTimeNonMonotonic = timeSinceLastCompile < 0
if isTimeNonMonotonic || timeSinceLastCompile >= AUTO_COMPILE_TIMEOUT
if (!ide.$scope.hasLintingError)