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

62 lines
1.5 KiB
CoffeeScript
Raw Normal View History

2014-06-17 07:43:42 -04:00
define [
"main/project-list/index"
"main/user-details"
"main/account-settings"
"main/clear-sessions"
"main/account-upgrade"
2014-07-07 07:27:58 -04:00
"main/plans"
2018-09-25 09:10:06 -04:00
"main/user-membership"
"main/scribtex-popup"
2015-03-17 15:14:55 -04:00
"main/event"
"main/bonus"
2014-07-24 08:24:08 -04: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 08:06:27 -04:00
"main/subscription/team-invite-controller"
"main/contact-us"
"main/learn"
"main/affiliations/components/affiliationForm"
"main/affiliations/controllers/UserAffiliationsController"
"main/affiliations/factories/UserAffiliationsDataService"
"main/keys"
"main/cms/blog"
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"
"directives/stopPropagation"
2014-06-24 10:31:44 -04:00
"directives/focus"
2014-06-20 06:15:25 -04:00
"directives/equals"
"directives/eventTracking"
2014-06-22 12:32:15 -04:00
"directives/fineUpload"
2014-06-22 15:08:56 -04:00
"directives/onEnter"
"directives/selectAll"
"directives/maxHeight"
2016-08-17 12:34:17 -04:00
"directives/creditCards"
2018-09-24 09:43:12 -04:00
"directives/bookmarkableTabset"
"services/queued-http"
"services/validateCaptcha"
2014-06-26 11:39:52 -04:00
"filters/formatDate"
"components/inputSuggestions"
"__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({
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"]
)