Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25362] TiAPI: Move KitchenSink-v2 to use ES6

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionDone
Resolution Date2018-02-22T15:00:38.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.1.0
ComponentsAndroid, iOS, Windows
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-10-02T14:23:22.000+0000
Updated2018-02-22T15:00:58.000+0000

Description

Now that Alloy uses Babel to transpile ES6 code, we should update [kitchensink-v2](https://github.com/appcelerator/kitchensink-v2) to use ES6 as well. It is our most important sample-project and should reflect the latest technologies we provide. Changes to consider - Change var to let / const - Use arrow-syntax (() => instead of function() callback). Maybe even use promises? - Use classes instead of functions? - Add linting of possible?

Comments

  1. Hans Knöchel 2018-02-22

    Resolved as part of https://github.com/appcelerator/kitchensink-v2/pull/28. Once 7.1.0 is released, the PR will be merged.

JSON Source