Files
AMYP/03🕸isomorphic-git_1.7.2🕸.js

22 lines
856 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

УстановитьIsomorphicGit = мир =>
{
var м = мир.модули.модульПоУказателю(УКАЗАТЕЛЬТОГО_МОДУЛЯ);
var префикс = ИМЯТОГОАЙЛА.substring(0, ИМЯТОГОАЙЛА.length - 3);
var isogit = м.содержимое[префикс + "index.umd.min.js"];
var http = м.содержимое[префикс + "index.js"];
var lfs = м.содержимое[префикс + "lightning-fs.min.js"];
function загрузитьСкрипт(код)
{
var скрипт = document.createElement("script");
скрипт.innerHTML = код;
document.body.appendChild(скрипт);
}
загрузитьСкрипт(lfs);
загрузитьСкрипт(isogit);
eval(http);
мир.гитHTTP = { request };
};