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

17 lines
408 B
CoffeeScript

define [
"base"
], (App) ->
App.controller "FeatureOnboardingController", ($scope, $modal, event_tracking) ->
$scope.isFeatureSettingDefined = window.userSettings.syntaxValidation?;
$scope.innerStep = 1
$scope.turnCodeCheckOn = () ->
navToInnerStep2()
$scope.turnCodeCheckOn = () ->
navToInnerStep2()
navToInnerStep2 = () ->
$scope.innerStep = 2
$scope.ui.leftMenuShown = true