You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.js 948B

12345678910111213141516171819202122232425262728293031323334
  1. requirejs.config({
  2. baseUrl: 'js/lib',
  3. paths: {
  4. app: '../app',
  5. jquery: 'jquery-3.1.1.min',
  6. visibility: 'visibility.min',
  7. humanize: 'humanize.min',
  8. bootstrap: 'bootstrap.min',
  9. d3: 'd3.min',
  10. d3evolution: 'd3evolution.min',
  11. d3pie: 'd3pie.min',
  12. footable: 'footable.min',
  13. bootstrap: 'bootstrap.min',
  14. },
  15. shim: {
  16. d3: {exports: 'd3'},
  17. bootstrap: {exports: 'bootstrap', deps: ['jquery']},
  18. d3pie: {exports: 'd3pie', deps: ['d3', 'jquery']},
  19. d3evolution: {exports: 'D3Evolution', deps: ['d3', 'd3pie', 'jquery']},
  20. footable: {deps: ['bootstrap', 'jquery']}
  21. }
  22. });
  23. // Load main UI
  24. require(['domReady'],
  25. function(domReady) {
  26. domReady(function () {
  27. require(['jquery', 'app/rspamd'],
  28. function ($, rspamd) {
  29. rspamd.setup();
  30. rspamd.connect();
  31. });
  32. });
  33. });