PolymerElements / iron-fit-behavior

Fits an element into another element
17 stars 34 forks source link

discover info in position, constrain, center #58

Closed valdrinkoshi closed 8 years ago

valdrinkoshi commented 8 years ago

Fixes #57 by invoking _discoverInfo in position(), constrain(), center(). Like this, each of those methods can be safely invoked and rely on the existence of the _fitInfo object. Previously, it was relying on users calling fit().

bicknellr commented 8 years ago

a bit of extra whitespace made it in there, otherwise LGTM

valdrinkoshi commented 8 years ago

Whitespace removed!