Вторая версия редактора ГитЖС в виде интегрированной среды разработки | Second version of GitJS editor in the form of an integrated development environment
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

43 lignes
1.9KB

  1. const УКАЗАТЕЛИ_НА_БИБЛИОТЕКИ_ГЛАВРЕДА = [
  2. "https://bitbucket.org/gitjs/jquery/raw/3.5.1/0000",
  3. "https://bitbucket.org/gitjs/uikit/raw/3.2.0/0000",
  4. "https://git.opengamestudio.org/kornerr/uik/raw/branch/master/0000",
  5. "https://git.opengamestudio.org/glavred/glavred-osnova-base/raw/branch/master/0000",
  6. "https://git.opengamestudio.org/glavred/glavred-faily-files/raw/branch/master/0000",
  7. "https://bitbucket.org/gitjs/ace/raw/1.4.12/0000",
  8. "https://git.opengamestudio.org/glavred/glavred-redaktor-editor/raw/branch/master/0000",
  9. "https://git.opengamestudio.org/glavred/glavred-sokhranit-save/raw/branch/master/0000",
  10. "https://bitbucket.org/gitjs/isomorphic-git/raw/1.7.2/0000",
  11. "https://git.opengamestudio.org/glavred/glavred-izdatel-publisher/raw/branch/master/0000",
  12. "https://git.opengamestudio.org/glavred/glavred-otkryt-open/raw/branch/master/0000",
  13. "https://git.opengamestudio.org/glavred/glavred-zav-mgr/raw/branch/master/0000",
  14. ];
  15. // // // //
  16. ЗагрузитьБиблиотекиГлавреда = мир =>
  17. {
  18. var указатели = УКАЗАТЕЛИ_НА_БИБЛИОТЕКИ_ГЛАВРЕДА;
  19. var сообщение = "Загрузка библиотек | Loading libraries";
  20. console.debug(сообщение, указатели);
  21. var html = "";
  22. for (var номер in указатели)
  23. {
  24. var указатель = указатели[номер];
  25. html += `<li>${указатель}</li>`;
  26. }
  27. document.body.innerHTML += `<p>${сообщение}</p><ul>${html}</ul>`;
  28. мир.модули.использовали.подписатьРаз(function() {
  29. мир.уведомить("ручной пуск");
  30. мир.уведомить("пуск главреда");
  31. });
  32. мир.модули.использовать(указатели);
  33. };