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