2014-06-17 07:43:42 -04:00
|
|
|
define [
|
2014-09-01 13:05:51 -04:00
|
|
|
"main/project-list/index"
|
2014-06-23 12:47:08 -04:00
|
|
|
"main/user-details"
|
|
|
|
"main/account-settings"
|
2016-10-07 05:52:58 -04:00
|
|
|
"main/clear-sessions"
|
2015-01-07 06:59:37 -05:00
|
|
|
"main/account-upgrade"
|
2014-07-07 07:27:58 -04:00
|
|
|
"main/plans"
|
2014-07-07 13:06:12 -04:00
|
|
|
"main/group-members"
|
2014-07-17 12:05:39 -04:00
|
|
|
"main/scribtex-popup"
|
2015-03-17 15:14:55 -04:00
|
|
|
"main/event"
|
2014-07-21 11:41:22 -04:00
|
|
|
"main/bonus"
|
2014-07-24 08:24:08 -04:00
|
|
|
"main/system-messages"
|
2014-08-13 09:14:31 -04:00
|
|
|
"main/translations"
|
2014-08-27 07:31:01 -04:00
|
|
|
"main/subscription-dashboard"
|
2014-10-13 12:28:00 -04:00
|
|
|
"main/new-subscription"
|
2014-08-28 13:14:31 -04:00
|
|
|
"main/annual-upgrade"
|
2016-11-11 12:03:01 -05:00
|
|
|
"main/announcements"
|
2015-03-19 10:22:48 -04:00
|
|
|
"main/register-users"
|
2018-05-31 09:25:47 -04:00
|
|
|
"main/subscription/domain-subscription-join-controller"
|
2018-05-30 08:06:27 -04:00
|
|
|
"main/subscription/team-invite-controller"
|
2016-03-18 08:55:35 -04:00
|
|
|
"main/contact-us"
|
2016-03-24 08:05:54 -04:00
|
|
|
"main/learn"
|
2018-07-03 11:47:02 -04:00
|
|
|
"main/affiliations/components/affiliationForm"
|
2018-06-15 06:28:44 -04:00
|
|
|
"main/affiliations/controllers/UserAffiliationsController"
|
|
|
|
"main/affiliations/factories/UserAffiliationsDataService"
|
2018-06-27 07:21:26 -04:00
|
|
|
"main/keys"
|
2018-08-22 10:29:25 -04:00
|
|
|
"main/account-merge-checker"
|
2018-07-12 17:26:08 -04:00
|
|
|
"main/cms/index"
|
2014-09-02 08:19:59 -04:00
|
|
|
"analytics/AbTestingManager"
|
2014-06-17 11:19:40 -04:00
|
|
|
"directives/asyncForm"
|
2014-06-18 06:30:56 -04:00
|
|
|
"directives/stopPropagation"
|
2014-06-24 10:31:44 -04:00
|
|
|
"directives/focus"
|
2014-06-20 06:15:25 -04:00
|
|
|
"directives/equals"
|
2018-04-03 09:48:11 -04:00
|
|
|
"directives/eventTracking"
|
2014-06-22 12:32:15 -04:00
|
|
|
"directives/fineUpload"
|
2014-06-22 15:08:56 -04:00
|
|
|
"directives/onEnter"
|
2014-07-07 13:06:12 -04:00
|
|
|
"directives/selectAll"
|
2014-07-08 12:47:20 -04:00
|
|
|
"directives/maxHeight"
|
2016-08-17 12:34:17 -04:00
|
|
|
"directives/creditCards"
|
2016-02-09 10:13:58 -05:00
|
|
|
"services/queued-http"
|
2017-12-11 07:32:43 -05:00
|
|
|
"services/validateCaptcha"
|
2014-06-26 11:39:52 -04:00
|
|
|
"filters/formatDate"
|
2018-06-15 06:28:44 -04:00
|
|
|
"components/inputSuggestions"
|
2014-10-03 06:32:59 -04:00
|
|
|
"__MAIN_CLIENTSIDE_INCLUDES__"
|
2014-06-17 07:43:42 -04:00
|
|
|
], () ->
|
2016-12-15 11:23:10 -05:00
|
|
|
angular.module('SharelatexApp').config(
|
2017-07-03 06:19:13 -04:00
|
|
|
($locationProvider) ->
|
2016-12-15 11:23:10 -05:00
|
|
|
try
|
|
|
|
$locationProvider.html5Mode({
|
2017-11-28 10:46:27 -05:00
|
|
|
enabled: true,
|
2016-12-15 11:23:10 -05:00
|
|
|
requireBase: false,
|
|
|
|
rewriteLinks: false
|
|
|
|
})
|
|
|
|
catch e
|
|
|
|
console.error "Error while trying to fix '#' links: ", e
|
|
|
|
)
|
|
|
|
angular.bootstrap(
|
|
|
|
document.body,
|
|
|
|
["SharelatexApp"]
|
|
|
|
)
|