overleaf/services/web/public/coffee/ide/chat/controllers/ChatMessageController.coffee

8 lines
214 B
CoffeeScript
Raw Normal View History

2014-07-08 07:02:26 -04:00
define [
"base"
"ide/colors/ColorManager"
], (App, ColorManager) ->
2014-07-08 07:02:26 -04:00
App.controller "ChatMessageController", ["$scope", "ide", ($scope, ide) ->
$scope.hue = (user) ->
ColorManager.getHueForUserId(user.id)
2014-07-08 07:02:26 -04:00
]