Use sampled tracking in editor recompiles.

This commit is contained in:
Paulo Reis 2016-07-08 10:07:45 +01:00
parent 07cce99c17
commit dfe9e05abe

View file

@ -267,12 +267,10 @@ define [
return path return path
$scope.recompile = (options = {}) -> $scope.recompile = (options = {}) ->
# event_tracking.sendCountly "editor-recompile", options
event_tracking.sendCountlySampled "editor-recompile", options
return if $scope.pdf.compiling return if $scope.pdf.compiling
event_tracking.sendCountlySampled "editor-recompile", options
$scope.pdf.compiling = true $scope.pdf.compiling = true
ide.$scope.$broadcast("flush-changes") ide.$scope.$broadcast("flush-changes")