- Update dist files

This commit is contained in:
Brett Zamir
2018-05-29 21:40:03 +08:00
parent 785e9b11dc
commit 76db126ec7
11 changed files with 1733 additions and 1676 deletions

View File

@@ -73,9 +73,11 @@
markerTypes[v + '_o'] = markerTypes[v];
});
// elem = a graphic element will have an attribute like marker-start
// attr - marker-start, marker-mid, or marker-end
// returns the marker element that is linked to the graphic element
/**
* @param elem - A graphic element will have an attribute like marker-start
* @param attr - marker-start, marker-mid, or marker-end
* @returns The marker element that is linked to the graphic element
*/
function getLinked(elem, attr) {
var str = elem.getAttribute(attr);
if (!str) {