Почему git говорит, что ldquo; Вытащить невозможно, потому что у вас есть незакрепленные файлы & rdquo ;?

Я могу видеть круг в firefox, делая 2 вещи:

1) Переименование файла из html в xhtml

2) Сменить скрипт на

<script type="text/javascript">
$(document).ready(function(){
    var obj = document.createElementNS("http://www.w3.org/2000/svg", "circle");
    obj.setAttributeNS(null, "cx", 100);
    obj.setAttributeNS(null, "cy", 50);
    obj.setAttributeNS(null, "r",  40);
    obj.setAttributeNS(null, "stroke", "black");
    obj.setAttributeNS(null, "stroke-width", 2);
    obj.setAttributeNS(null, "fill", "red");
    $("svg")[0].appendChild(obj);
});
</script>
146
задан mu 無 20 December 2017 в 09:55
поделиться