[TIMOB-19212] Windows: setTimeout delay param should be optional
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-07-17T13:54:43.000+0000 |
| Affected Version/s | Release 4.1.0 |
| Fix Version/s | Release 5.0.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Christopher Williams |
| Assignee | Kota Iguchi |
| Created | 2015-07-13T18:32:51.000+0000 |
| Updated | 2015-07-31T21:10:10.000+0000 |
Description
https://developer.mozilla.org/en-US/docs/Web/API/WindowTimers/setTimeout
the second param - the delay should be optional and default to 0 if not specified. Not specifying currently causes a runtime exception (and the red screen of death).
https://github.com/appcelerator/titanium_mobile_windows/pull/379
Verified using: Windows 8.1 Appc CLI: 4.1.2 Titanium SDK: 4.2.0.v20150730093157 When using setTimeout the delay parameter is now optional Closing ticket and bumping fix version