Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Simple default value fix #13

Merged
merged 1 commit into from

2 participants

István Miklós Antal Elbert Alias
István Miklós Antal

Default value for line, fixes a case where this variable gets undefined and turns the whole dy into NaN

Elbert Alias
Owner

Thanks!

Elbert Alias AliasIO merged commit 1f6310f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 10, 2012
  1. István Miklós Antal

    Default value for line, fixes a case where this variable gets undefin…

    istvan-antal authored
    …ed and turns the whole dy into NaN
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  raphael.export.js
1  raphael.export.js
View
@@ -126,6 +126,7 @@
var tags = new Array;
map(node.attrs['text'].split('\n'), function(text, iterable, line) {
+ line = line || 0;
tags.push(tag(
'text',
reduce(
Something went wrong with that request. Please try again.