[ 
https://issues.apache.org/jira/browse/TAP5-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17975219#comment-17975219
 ] 

ASF subversion and git services commented on TAP5-2804:
-------------------------------------------------------

Commit f8073c5bc094caa84385a57a127b40f093b63269 in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=f8073c5bc ]

TAP5-2804: Convert Tapestry JS sources from CoffeeScript to TypeScript (#53)

* decaffeinate: Rename ajax.coffee and 27 other files from .coffee to .js

* decaffeinate: Convert ajax.coffee and 27 other files to JS

* TAP5-2804: moving converted CoffeeScript sources to TS project

* TAP5-2804: creating TypeScript project

* TAP5-2804: changing file extensions from .js to .ts

* TAP5-2804: moving TypeScript files to correct folder

* TAP5-2805: Upgrade underscore.js to 1.36.7

* TAP5-2804: another pass at the CoffeeScript to TypeScript conversion

* TAP5-2804: finishing the CoffeeScript to TypeScript conversion

Thorough tests still needed, though.

* TAP5-2804: finishing the CoffeeScript to TypeScript conversion

Thorough tests still needed, though.

* TAP5-2804: adding dom-prototype.ts plus little tweaks

* TAP5-2804: adapting the build system to the TS codebase

* TAP5-2804: renaming 'exports' variable in TS sources

since it causes a duplicated variable compilation error in generated
AMD/Require.js modules

* TAP5-2804: fixing typeScriptDocs() task type

* TAP5-2804: removing t5-core-dom.coffee

* decaffeinate: Rename beanvalidator-validation.coffee from .coffee to .js

* decaffeinate: Convert beanvalidator-validation.coffee to JS

* TAP5-2804: moving former Coffee file to resources

* TAP5-2804: moving beanvalidator-validation JS

to tapestry-core to keep things simple (even if a bit less organized)

* TAP5-2804:  beanvalidator-validation JS to TS

* TAP5-2804: tapestry-beanvalidator cleanup

* decaffeinate: Rename zonedemo.coffee and 10 other files from .coffee to .js

* decaffeinate: Convert zonedemo.coffee and 10 other files to JS

* TAP5-2804: moving converted CoffeeScript to JS files

* TAP5-2804: more CS to TS adjustments

* TAP5-2804: removing last remnants of CoffeeScript

* Trying to figure out Jenkins test failures

* Another attempt to figure out Jenkins test failures

* Attempt #3

* TAP5-2804: bunch of small adjustments

* TAP5-2804: fixing imports and JSDoc

* TAP5-2804: initial work on option to disable Require.js

* TAP5-2804: more little fixes

* TAP5-2804: fixing onDocument() and its usages, plus imports

* TAP5-2804: adapting test JS code to AMD module changes.

* TAP5-2804: jQuery fixes

* TAP5-2804: test JS fixes plus TS conversion fixes

* TAP5-2804: fixing scanners initialization in dom.js

* TAP5-2804: fixed ElementWrapper.attr() in jQuery.

* Enabling logging to Gradle console on tapestry-beanvalidator

* TAP5-2804: task tapestry-core:compileTypeScript not being called
* TAP5-2804: renaming Require.js-enabling configuration symbol

* Trying to speed up integration tests

* TAP5-2804: adding test suites for Require.js enabled and not

* Disabling tests with Require.js disabled while it's been worked

* Fixing broken tests


> Convert Tapestry's JS code from CoffeeScript to TypeScript
> ----------------------------------------------------------
>
>                 Key: TAP5-2804
>                 URL: https://issues.apache.org/jira/browse/TAP5-2804
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Thiago Henrique De Paula Figueiredo
>            Assignee: Thiago Henrique De Paula Figueiredo
>            Priority: Major
>
> CoffeeScript was useful when JavaScript was lacking several features, but 
> since then CS got obsolete and it's odd, way too different syntax from 
> JavaScript makes adding or changing existing code much more difficult than it 
> should.
> Besides converting the sources, Tapestry should also publish its JavaScript 
> to npm to make it easier for developers to write their own JavaScript or 
> TypeScript code which uses Tapestry's own one.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to