mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add AutoCompileOnboardingController
This commit is contained in:
parent
8d2a451b44
commit
316cf07225
3 changed files with 10 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
define [
|
||||||
|
"base"
|
||||||
|
], (App) ->
|
||||||
|
App.controller "AutoCompileOnboardingController", ($scope) ->
|
||||||
|
unsub = $scope.$on "pdf.recompile", () ->
|
||||||
|
console.log('recompiling')
|
||||||
|
unsub()
|
Loading…
Reference in a new issue