Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Fix SVG variable declaration issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jul 28, 2013
1 parent bb6b183 commit 7168b74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/position/svg.js
Expand Up @@ -43,6 +43,8 @@ PLUGINS.svg = function(api, svg, corner, adjustMethod)
case 'line':
case 'polygon':
case 'polyline':
var len, next,

points = elem.points || [
{ x: elem.x1.baseVal.value, y: elem.y1.baseVal.value },
{ x: elem.x2.baseVal.value, y: elem.y2.baseVal.value }
Expand Down

0 comments on commit 7168b74

Please sign in to comment.