overleaf/services/web/public/coffee/ide/FeatureOnboardingController.coffee
2016-10-20 16:39:43 +01:00

15 lines
306 B
CoffeeScript

define [
"base"
], (App) ->
App.controller "FeatureOnboardingController", ($scope, $modal, event_tracking) ->
$scope.step = 1;
$scope.turnCodeCheckOn = () ->
goToStep2()
$scope.turnCodeCheckOn = () ->
goToStep2()
goToStep2 = () ->
$scope.step = 2
$scope.ui.leftMenuShown = true