eternicode/bootstrap-datepicker — pull request #672 by fabdouglas (2013-10-30 19:25:30+00:00)
Title: Fix 'this.date is undefined' on keyUp/keyDown and empty input (round2)

To reproduce the fixed issue :
- get a empty input
- $("input").datepicker()
- click on input (picker appears)
- press keyUp or keyDown
You get on FF :
```
TypeError: this.date is undefined
Line : 964
```

Reproduced on IE11, Chrome and FF