We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed0c230 commit fe827c0Copy full SHA for fe827c0
1 file changed
intersect.js
@@ -109,7 +109,7 @@ function parsePathString(pathString) {
109
*/
110
function isPathAbsolute(pathComponents) {
111
112
- for (var i = 0; i < pathComponents.length; i++) {
+ for (var i = 0, ii = pathComponents.length; i < ii; i++) {
113
var command = pathComponents[i][0];
114
if (typeof command === 'string' && command !== command.toUpperCase()) {
115
return false;
@@ -128,7 +128,8 @@ function isPathAbsolute(pathComponents) {
128
* @return {boolean}
129
130
function isPathCurve(pathComponents) {
131
+
132
133
134
if (command !== 'M' && command !== 'C') {
135
0 commit comments