add word count to per-user container

This commit is contained in:
Brian Gough 2016-06-27 12:41:50 +01:00
parent 6526b29f96
commit 8b15d40f8b

View file

@ -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