anirudhb029 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Small patch for setting options.grid.borderColor #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A small refactoring to set options.grid.borderColor to options.grid.color
in parseOptions, rather waiting until borderColor is actually used.

The code makes more sense to me this way, since it means
options.grid.borderColor will always have a valid value, rather than having
to compare it against null and potentially lookup options.grid.color.

Original issue reported on code.google.com by mikerwil...@yahoo.co.uk on 12 Jan 2009 at 4:39

Attachments:

GoogleCodeExporter commented 9 years ago
Makes sense, patch applied, thanks!

Original comment by olau%iol...@gtempaccount.com on 12 Jan 2009 at 5:24