NPM Resource Changed ? ? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
17 Apr 2020

Summary of Changes

Just some minor JS improvements to use parameter destructing.

Testing Instructions

Code review

avatar C-Lodder C-Lodder - open - 17 Apr 2020
avatar C-Lodder C-Lodder - change - 17 Apr 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Apr 2020
Category JavaScript Repository NPM Change
25a88da 17 Apr 2020 avatar C-Lodder woof
avatar C-Lodder C-Lodder - change - 17 Apr 2020
Labels Added: NPM Resource Changed ?
avatar dgrammatiko
dgrammatiko - comment - 17 Apr 2020

@C-Lodder you cannot introduce such ES2015+ options without a way to compose ES5 compatible scripts. In short you need to pump (eg use rollup) the build tools if you still care for ES5. I'm guessing the project neither cares about ES5 or any js version other than the latest ES20**..
Not a wise choice (just an opinion from an old guy...)

avatar C-Lodder
C-Lodder - comment - 17 Apr 2020

Babel transpiles destructing params by default. This isn't a DOM method.
No need to use rollup at all.

avatar roland-d
roland-d - comment - 18 Apr 2020

I have tested this item successfully on 25a88da


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28710.

avatar roland-d roland-d - test_item - 18 Apr 2020 - Tested successfully
avatar anibalsanchez anibalsanchez - test_item - 2 May 2020 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 2 May 2020

I have tested this item successfully on 25a88da

Test OK

The build script transpile the parameter destructing.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28710.

avatar Quy Quy - change - 2 May 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 2 May 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28710.

avatar wilsonge
wilsonge - comment - 9 May 2020

Can you fix conflicts here please - it's from the install from web pr you did

avatar C-Lodder C-Lodder - change - 9 May 2020
Labels Added: ?
avatar wilsonge wilsonge - change - 9 May 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-05-09 10:37:19
Closed_By wilsonge
avatar wilsonge
wilsonge - comment - 9 May 2020

Thanks!

Add a Comment

Login with GitHub to post a comment