base.coffee 513 B

123456789101112131415161718192021222324252627
  1. define [
  2. "libs"
  3. "modules/recursionHelper"
  4. "modules/errorCatcher"
  5. "modules/localStorage"
  6. "utils/underscore"
  7. ], () ->
  8. App = angular.module("SharelatexApp", [
  9. "ui.bootstrap"
  10. "autocomplete"
  11. "RecursionHelper"
  12. "ng-context-menu"
  13. "underscore"
  14. "ngSanitize"
  15. "ipCookie"
  16. "mvdSixpack"
  17. "ErrorCatcher"
  18. "localStorage"
  19. "ngTagsInput"
  20. ]).config (sixpackProvider)->
  21. sixpackProvider.setOptions({
  22. debug: false
  23. baseUrl: window.sharelatex.sixpackDomain
  24. client_id: window.user_id
  25. })
  26. return App