Skip to content

Commit

Permalink
Fix another error in defining segments.
Browse files Browse the repository at this point in the history
  • Loading branch information
nijikokun committed Aug 8, 2012
1 parent 05b8ee4 commit 35fb257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nasa.canvas.js
Expand Up @@ -198,7 +198,7 @@ var nasa = (typeof nasa === 'undefined' || typeof nasa !== 'object') ? {} : nasa
for (var i = 0; i < segments.length; i++) {
segment = segments[i];
type = Object.keys(segment)[0];
if(type in $segments) $context[type].apply($context, segment);
if(type in $segments) $context[type].apply($context, segment[type]);
}

return this;
Expand Down

0 comments on commit 35fb257

Please sign in to comment.