flot/flot — pull request #852 by ncb000gt (2012-11-01 21:41:44+00:00)
Title: Return null if we aren't showing a selection when calling getSelection.

If we've called `clearSelection`, then calling `getSelection` shouldn't
return the old selection values. When calling `getSelection` before a
selection is made, `null` is returned. It seemed appropriate to do the
same if `selection.show` was falsy.

Signed-off-by: Nick Campbell