mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-12 02:42:25 -05:00
10 lines
No EOL
316 B
CoffeeScript
10 lines
No EOL
316 B
CoffeeScript
define [
|
|
"base"
|
|
], (App) ->
|
|
|
|
App.controller 'LeftHandMenuPromoController', ($scope) ->
|
|
|
|
$scope.showDatajoy = Math.random() < 0.5
|
|
$scope.hasProjects = window.data.projects.length > 0
|
|
$scope.userHasSubscription = window.userHasSubscription
|
|
$scope.randomView = _.shuffle(["default", "dropbox", "github"])[0] |