require.config.js 733 B

123456789101112131415161718192021222324252627282930313233
  1. var components = {
  2. "packages": [
  3. {
  4. "name": "elfinder",
  5. "main": "elfinder-built.js"
  6. },
  7. {
  8. "name": "jquery",
  9. "main": "jquery-built.js"
  10. },
  11. {
  12. "name": "jquery-ui",
  13. "main": "jquery-ui-built.js"
  14. }
  15. ],
  16. "shim": {
  17. "jquery-ui": {
  18. "deps": [
  19. "jquery"
  20. ],
  21. "exports": "jQuery"
  22. }
  23. },
  24. "baseUrl": "components"
  25. };
  26. if (typeof require !== "undefined" && require.config) {
  27. require.config(components);
  28. } else {
  29. var require = components;
  30. }
  31. if (typeof exports !== "undefined" && typeof module !== "undefined") {
  32. module.exports = components;
  33. }