Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19212] Windows: setTimeout delay param should be optional

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2015-07-17T13:54:43.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeKota Iguchi
Created2015-07-13T18:32:51.000+0000
Updated2015-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).

Comments

  1. Kota Iguchi 2015-07-16

    https://github.com/appcelerator/titanium_mobile_windows/pull/379
  2. Ewan Harris 2015-07-31

    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

JSON Source