소스 검색

Use sampled tracking in editor recompiles.

Paulo Reis 10 년 전
부모
커밋
dfe9e05abe
1개의 변경된 파일과 2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

+ 2 - 4
services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

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