2018-11-05 10:06:39 +00:00
|
|
|
/* 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
|
|
|
|
*/
|
2020-05-19 09:02:56 +00:00
|
|
|
import './main/token-access'
|
|
|
|
import './main/project-list/index'
|
|
|
|
import './main/account-settings'
|
|
|
|
import './main/clear-sessions'
|
2021-01-14 15:16:54 +00:00
|
|
|
import './main/account-upgrade-angular'
|
2020-05-19 09:02:56 +00:00
|
|
|
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/subscription/team-invite-controller'
|
|
|
|
import './main/subscription/upgrade-subscription'
|
|
|
|
import './main/learn'
|
|
|
|
import './main/affiliations/components/affiliationForm'
|
2020-09-18 10:01:51 +00:00
|
|
|
import './main/affiliations/components/inputSuggestions'
|
2020-05-19 09:02:56 +00:00
|
|
|
import './main/affiliations/controllers/UserAffiliationsController'
|
|
|
|
import './main/affiliations/factories/UserAffiliationsDataService'
|
2021-02-22 15:01:02 +00:00
|
|
|
import './main/affiliations/controllers/UserAffiliationsReconfirmController'
|
2020-05-19 09:02:56 +00:00
|
|
|
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'
|
2022-03-29 12:12:10 +00:00
|
|
|
import './features/cookie-banner'
|
2020-05-19 09:02:56 +00:00
|
|
|
import '../../modules/modules-main.js'
|
2021-10-05 12:11:03 +00:00
|
|
|
import './cdn-load-test'
|
2021-04-14 13:17:21 +00:00
|
|
|
angular.module('SharelatexApp').config(function ($locationProvider) {
|
2020-05-19 09:02:56 +00:00
|
|
|
try {
|
|
|
|
return $locationProvider.html5Mode({
|
|
|
|
enabled: true,
|
|
|
|
requireBase: false,
|
2021-04-27 07:52:58 +00:00
|
|
|
rewriteLinks: false,
|
2020-05-19 09:02:56 +00:00
|
|
|
})
|
|
|
|
} catch (e) {
|
|
|
|
return console.error("Error while trying to fix '#' links: ", e)
|
|
|
|
}
|
2018-11-05 10:06:39 +00:00
|
|
|
})
|
2020-05-19 09:02:56 +00:00
|
|
|
export default angular.bootstrap(document.body, ['SharelatexApp'])
|