-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nf-graph: better behavior when setting yMin, yMax to null
Previously, setting `yMin` or `yMax` to `undefined` caused > Error: Invalid value for <g> attribute transform="translate(520, NaN)" There was no way to set `yMin` or `yMax` to "something if it's defined, or default behavior otherwise". This now treats the following as equivalent: ```hbs {{!-- no yMax specified: --}} {{nf-graph}} {{!-- yMax set to undefined: --}} {{nf-graph yMax=somePropertyThatIsUndefined}} ```
- Loading branch information
James A. Rosen
committed
Jul 4, 2015
1 parent
189af95
commit bb39914
Showing
1 changed file
with
56 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters