Skip to content

Commit

Permalink
Merge pull request #121 from ramnathv/master
Browse files Browse the repository at this point in the history
Add dataJson option in geographyConfig
  • Loading branch information
markmarkoh committed Aug 20, 2014
2 parents 9eda50f + d8849b0 commit 8283e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/datamaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
});
}
else {
draw( this[options.scope + 'Topo'] );
draw( this[options.scope + 'Topo'] || options.geographyConfig.dataJson);

This comment has been minimized.

Copy link
@Downchuck

Downchuck Jun 13, 2015

shouldn't dataJson override whatever scope is set?

}

return this;
Expand Down Expand Up @@ -672,4 +672,4 @@
return this;
};
}
})();
})();

0 comments on commit 8283e4b

Please sign in to comment.