Add AutoCompileOnboardingController

This commit is contained in:
Alasdair Smith 2017-09-27 16:35:28 +01:00
parent 8d2a451b44
commit 316cf07225
3 changed files with 10 additions and 2 deletions

View file

@ -95,7 +95,7 @@ div.full-size(
) )
include ./pdf include ./pdf
.onboarding__autocompile.popover.right .onboarding__autocompile.popover.right(ng-controller="AutoCompileOnboardingController")
.arrow .arrow
.popover-inner .popover-inner
h3.popover-title Auto Compile h3.popover-title Auto Compile

View file

@ -12,7 +12,8 @@ define [
"ide/labels/LabelsManager" "ide/labels/LabelsManager"
"ide/review-panel/ReviewPanelManager" "ide/review-panel/ReviewPanelManager"
"ide/SafariScrollPatcher" "ide/SafariScrollPatcher"
"ide/FeatureOnboardingController" "ide/FeatureOnboardingController",
"ide/AutoCompileOnboardingController",
"ide/settings/index" "ide/settings/index"
"ide/share/index" "ide/share/index"
"ide/chat/index" "ide/chat/index"

View file

@ -0,0 +1,7 @@
define [
"base"
], (App) ->
App.controller "AutoCompileOnboardingController", ($scope) ->
unsub = $scope.$on "pdf.recompile", () ->
console.log('recompiling')
unsub()