Skip to content

Commit 43515e7

Browse files
authored
update rawgit.com to jsdelivr.net in SVG arc demo (#41751)
rawgit.com says the service has been defunct for at least 6 years now, and recommends using jsdelivr.net instead. Tested this in the playground.
1 parent a4fcf79 commit 43515e7

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/svg/tutorials/svg_from_scratch/paths

1 file changed

+1
-1
lines changed

files/en-us/web/svg/tutorials/svg_from_scratch/paths/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ Arcs are an easy way to create pieces of circles or ellipses in drawings. For in
650650
If transitioning to SVG from {{HTMLElement("canvas")}}, arcs can be the hardest thing to learn, but are also much more powerful. Complete circles and ellipses are the only shapes that SVG arcs have trouble drawing. Because the start and end points for any path going around a circle are the same point, there are an infinite number of circles that could be chosen, and the actual path is undefined. It's possible to approximate them by making the start and end points of the path slightly askew, and then connecting them with another path segment. For example, it's possible to make a circle with an arc for each semi-circle. At that point, it's often easier to use a real {{SVGElement("circle")}} or {{SVGElement("ellipse")}} node instead. This interactive demo might help understand the concepts behind SVG arcs.
651651

652652
```html hidden live-sample___arcs_interactive
653-
<script src="https://cdn.rawgit.com/lingtalfi/simpledrag/master/simpledrag.js"></script>
653+
<script src="https://cdn.jsdelivr.net/gh/lingtalfi/simpledrag@2.2.0/simpledrag.js"></script>
654654
<div class="ui">
655655
<div class="controls">
656656
Radius X: <input id="rx" type="range" min="0" max="500" /><br />

0 commit comments

Comments
 (0)