|
|
@@ -4,12 +4,14 @@ define [
|
|
|
App.controller 'WordCountModalController', ($scope, $modalInstance, ide, $http) ->
|
|
|
$scope.status =
|
|
|
loading:true
|
|
|
-
|
|
|
+
|
|
|
+ perUserCompile = window.location?.search?.match(/isolated=true/)? or undefined
|
|
|
opts =
|
|
|
url:"/project/#{ide.project_id}/wordcount"
|
|
|
method:"GET"
|
|
|
params:
|
|
|
clsiserverid:ide.clsiServerId
|
|
|
+ isolated: perUserCompile
|
|
|
$http opts
|
|
|
.success (data) ->
|
|
|
$scope.status.loading = false
|