overleaf/services/web/public/coffee/ide/FeatureOnboardingController.coffee

18 lines
408 B
CoffeeScript
Raw Normal View History

2016-10-20 11:39:43 -04:00
define [
"base"
], (App) ->
App.controller "FeatureOnboardingController", ($scope, $modal, event_tracking) ->
$scope.isFeatureSettingDefined = window.userSettings.syntaxValidation?;
$scope.innerStep = 1
2016-10-20 11:39:43 -04:00
$scope.turnCodeCheckOn = () ->
navToInnerStep2()
2016-10-20 11:39:43 -04:00
$scope.turnCodeCheckOn = () ->
navToInnerStep2()
2016-10-20 11:39:43 -04:00
navToInnerStep2 = () ->
$scope.innerStep = 2
2016-10-20 11:39:43 -04:00
$scope.ui.leftMenuShown = true