rename autocompile_disabled to autoCompileDisabled

for consistency
This commit is contained in:
Brian Gough 2017-10-09 15:21:01 +01:00
parent 15e2deed73
commit ea89638010
2 changed files with 3 additions and 3 deletions

View file

@ -392,7 +392,7 @@ div.full-size.pdf(ng-controller="PdfController")
) #{translate("start_free_trial")}
.alert.alert-danger(ng-show="pdf.autocompile_disabled")
.alert.alert-danger(ng-show="pdf.autoCompileDisabled")
p
strong #{translate("autocompile_disabled")}.
span #{translate("autocompile_disabled_reason")}

View file

@ -168,7 +168,7 @@ define [
$scope.pdf.compileExited = false
$scope.pdf.failedCheck = false
$scope.pdf.compileInProgress = false
$scope.pdf.autocompile_disabled = false
$scope.pdf.autoCompileDisabled = false
# make a cache to look up files by name
fileByPath = {}
@ -211,7 +211,7 @@ define [
$scope.pdf.view = 'uncompiled'
else # background autocompile from typing
$scope.pdf.view = 'errors'
$scope.pdf.autocompile_disabled = true
$scope.pdf.autoCompileDisabled = true
$scope.autocompile_enabled = false # disable any further autocompiles
event_tracking.sendMB "autocompile-rate-limited", {hasPremiumCompile: $scope.hasPremiumCompile}
else if response.status == "project-too-large"