+
Skip to content

Conversation

braddunbar
Copy link
Contributor

When using setters with falsey values (e.g. 0) the getter is called instead. This is fixed by a null comparison to use the setter for anything but null and undefined.

@timrwood
Copy link
Member

Ah yes, that slipped by me.

Can you change the pull request to the dev branch though? I'm working on stuff for 1.1.0 and I want this to make it in.

@braddunbar
Copy link
Contributor Author

Sure! I'll just create a new pull request I suppose? I don't see a way to change it retroactively.

@braddunbar braddunbar closed this Oct 25, 2011
butterflyhug pushed a commit to WhoopInc/frozen-moment-OLD that referenced this pull request Jul 22, 2014
Fixed year lower bound from -270,00 to -270,000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载