2018-11-05 05:06:39 -05:00
|
|
|
/* eslint-disable
|
|
|
|
max-len,
|
|
|
|
no-undef,
|
|
|
|
*/
|
|
|
|
// 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([
|
|
|
|
'main/project-list/index',
|
|
|
|
'main/account-settings',
|
|
|
|
'main/clear-sessions',
|
|
|
|
'main/account-upgrade',
|
|
|
|
'main/plans',
|
|
|
|
'main/user-membership',
|
|
|
|
'main/scribtex-popup',
|
|
|
|
'main/event',
|
|
|
|
'main/bonus',
|
|
|
|
'main/system-messages',
|
|
|
|
'main/translations',
|
2019-07-31 11:34:46 -04:00
|
|
|
'main/subscription-dashboard',
|
|
|
|
'main/new-subscription',
|
2018-11-05 05:06:39 -05:00
|
|
|
'main/annual-upgrade',
|
|
|
|
'main/announcements',
|
|
|
|
'main/register-users',
|
|
|
|
'main/subscription/team-invite-controller',
|
|
|
|
'main/contact-us',
|
|
|
|
'main/learn',
|
2019-10-03 10:10:00 -04:00
|
|
|
'main/exposed-settings',
|
2018-11-05 05:06:39 -05:00
|
|
|
'main/affiliations/components/affiliationForm',
|
|
|
|
'main/affiliations/controllers/UserAffiliationsController',
|
|
|
|
'main/affiliations/factories/UserAffiliationsDataService',
|
2019-04-23 10:19:52 -04:00
|
|
|
'main/oauth/controllers/UserOauthController',
|
2018-11-05 05:06:39 -05:00
|
|
|
'main/keys',
|
2019-01-03 12:56:24 -05:00
|
|
|
'main/importing',
|
2018-11-05 05:06:39 -05:00
|
|
|
'analytics/AbTestingManager',
|
2019-01-15 11:31:46 -05:00
|
|
|
'directives/autoSubmitForm',
|
2018-11-05 05:06:39 -05:00
|
|
|
'directives/asyncForm',
|
2019-01-11 09:15:21 -05:00
|
|
|
'directives/complexPassword',
|
2018-11-05 05:06:39 -05:00
|
|
|
'directives/stopPropagation',
|
|
|
|
'directives/focus',
|
|
|
|
'directives/equals',
|
|
|
|
'directives/eventTracking',
|
|
|
|
'directives/fineUpload',
|
|
|
|
'directives/onEnter',
|
|
|
|
'directives/selectAll',
|
|
|
|
'directives/maxHeight',
|
|
|
|
'directives/creditCards',
|
|
|
|
'directives/bookmarkableTabset',
|
|
|
|
'services/queued-http',
|
|
|
|
'services/validateCaptcha',
|
2019-01-21 12:09:02 -05:00
|
|
|
'services/validateCaptchaV3',
|
2018-11-05 05:06:39 -05:00
|
|
|
'filters/formatDate',
|
|
|
|
'components/inputSuggestions',
|
2019-10-16 06:10:54 -04:00
|
|
|
'../../modules/modules-main.js'
|
2018-11-05 05:06:39 -05:00
|
|
|
], function() {
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
})
|
|
|
|
return angular.bootstrap(document.body, ['SharelatexApp'])
|
|
|
|
})
|