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