enyojs/moonstone — pull request #1349 by aarontam (2014-06-04 00:53:21+00:00)
Title: BHV-9859: Fix reset button.

Issue
-------
The reset button in the Calendar sample no longer functions.

Fix
----
It appears there has been a change in the order of evaluation of bindings and change handlers, which the Calendar sample is dependent upon (it attempts to transform the value during binding, assuming that the change handler has already run). We can instead pass the current date (via `new Date()`) instead of `null` as the value of `moon.Calendar` when resetting.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam