mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
30a2997b43
Enable no-undef linting rule for all frontend files and fix errors GitOrigin-RevId: bf9c789a381af982bdece55a2f518a2b610c9202
26 lines
753 B
JavaScript
26 lines
753 B
JavaScript
/* eslint-disable
|
|
no-return-assign,
|
|
*/
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
// Fix any style issues and re-enable lint.
|
|
/*
|
|
* decaffeinate suggestions:
|
|
* DS102: Remove unnecessary code created because of implicit returns
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
*/
|
|
define(['../base'], function(App) {
|
|
App.controller(
|
|
'BonusLinksController',
|
|
($scope, $modal) =>
|
|
($scope.openLinkToUsModal = () =>
|
|
$modal.open({
|
|
templateUrl: 'BonusLinkToUsModal',
|
|
controller: 'BonusModalController'
|
|
}))
|
|
)
|
|
|
|
return App.controller(
|
|
'BonusModalController',
|
|
($scope, $modalInstance) => ($scope.cancel = () => $modalInstance.dismiss())
|
|
)
|
|
})
|