overleaf/services/web/public/coffee/main.coffee

58 lines
1.4 KiB
CoffeeScript
Raw Normal View History

2014-06-17 11:43:42 +00:00
define [
"main/project-list/index"
"main/user-details"
"main/account-settings"
"main/clear-sessions"
"main/account-upgrade"
2014-07-07 11:27:58 +00:00
"main/plans"
"main/group-members"
"main/scribtex-popup"
2015-03-17 19:14:55 +00:00
"main/event"
"main/bonus"
2014-07-24 12:24:08 +00:00
"main/system-messages"
"main/translations"
"main/subscription-dashboard"
"main/new-subscription"
"main/annual-upgrade"
"main/announcements"
"main/register-users"
"main/subscription/domain-subscription-join-controller"
2018-05-30 12:06:27 +00:00
"main/subscription/team-invite-controller"
"main/contact-us"
"main/learn"
"main/affiliations/controllers/UserAffiliationsController"
"main/affiliations/factories/UserAffiliationsDataService"
"main/keys"
2014-09-02 12:19:59 +00:00
"analytics/AbTestingManager"
2014-06-17 15:19:40 +00:00
"directives/asyncForm"
"directives/stopPropagation"
2014-06-24 14:31:44 +00:00
"directives/focus"
2014-06-20 10:15:25 +00:00
"directives/equals"
"directives/eventTracking"
2014-06-22 16:32:15 +00:00
"directives/fineUpload"
2014-06-22 19:08:56 +00:00
"directives/onEnter"
"directives/selectAll"
"directives/maxHeight"
2016-08-17 16:34:17 +00:00
"directives/creditCards"
"services/queued-http"
"services/validateCaptcha"
2014-06-26 15:39:52 +00:00
"filters/formatDate"
"components/inputSuggestions"
"__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({
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"]
)