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