mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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] |