mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
76beba4393
* Add cookie banner Co-authored-by: Alf Eaton <alf.eaton@overleaf.com> Co-authored-by: Miguel Serrano <mserranom@users.noreply.github.com> GitOrigin-RevId: a3625d4e6357ff58c7c47532901c382bedbe07e0
68 lines
2.3 KiB
JavaScript
68 lines
2.3 KiB
JavaScript
/* eslint-disable
|
|
max-len,
|
|
*/
|
|
// 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
|
|
*/
|
|
import './main/token-access'
|
|
import './main/project-list/index'
|
|
import './main/account-settings'
|
|
import './main/clear-sessions'
|
|
import './main/account-upgrade-angular'
|
|
import './main/plans'
|
|
import './main/user-membership'
|
|
import './main/scribtex-popup'
|
|
import './main/event'
|
|
import './main/bonus'
|
|
import './main/system-messages'
|
|
import './main/translations'
|
|
import './main/subscription-dashboard'
|
|
import './main/new-subscription'
|
|
import './main/annual-upgrade'
|
|
import './main/register-users'
|
|
import './main/subscription/team-invite-controller'
|
|
import './main/subscription/upgrade-subscription'
|
|
import './main/learn'
|
|
import './main/affiliations/components/affiliationForm'
|
|
import './main/affiliations/components/inputSuggestions'
|
|
import './main/affiliations/controllers/UserAffiliationsController'
|
|
import './main/affiliations/factories/UserAffiliationsDataService'
|
|
import './main/affiliations/controllers/UserAffiliationsReconfirmController'
|
|
import './main/oauth/controllers/UserOauthController'
|
|
import './main/keys'
|
|
import './main/importing'
|
|
import './directives/autoSubmitForm'
|
|
import './directives/asyncForm'
|
|
import './directives/complexPassword'
|
|
import './directives/stopPropagation'
|
|
import './directives/focus'
|
|
import './directives/equals'
|
|
import './directives/eventTracking'
|
|
import './directives/fineUpload'
|
|
import './directives/onEnter'
|
|
import './directives/selectAll'
|
|
import './directives/maxHeight'
|
|
import './directives/bookmarkableTabset'
|
|
import './services/queued-http'
|
|
import './services/validateCaptcha'
|
|
import './services/validateCaptchaV3'
|
|
import './filters/formatDate'
|
|
import './features/cookie-banner'
|
|
import '../../modules/modules-main.js'
|
|
import './cdn-load-test'
|
|
angular.module('SharelatexApp').config(function ($locationProvider) {
|
|
try {
|
|
return $locationProvider.html5Mode({
|
|
enabled: true,
|
|
requireBase: false,
|
|
rewriteLinks: false,
|
|
})
|
|
} catch (e) {
|
|
return console.error("Error while trying to fix '#' links: ", e)
|
|
}
|
|
})
|
|
export default angular.bootstrap(document.body, ['SharelatexApp'])
|