NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
13 Jun 2019

Pull Request for Issue # .

Summary of Changes

  • Remove some unecessary code for IE
  • Remove html5.js and html5fallback.js
  • Remove "use strict"; calls in ES6 files as they're not required
  • Update draggable.js to ES6
avatar C-Lodder C-Lodder - open - 13 Jun 2019
avatar C-Lodder C-Lodder - change - 13 Jun 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Jun 2019
Category JavaScript Repository NPM Change
avatar brianteeman
brianteeman - comment - 13 Jun 2019

Thanks for doing this

avatar dgrammatiko
dgrammatiko - comment - 13 Jun 2019

ES6 or greater is not forcing strict mode unless you’re in module mode, eg the de facto for current code. Also if you wanna go this way you should drop all the iife as these were an ES5 technic.
I think there is a greater question/problem that needs to be answered before any of these enhancements get merged and that is: “is joomla willing to really follow the new JavaScript paradigm?”

avatar Fedik
Fedik - comment - 16 Jun 2019

I am agree with @dgrammatiko . "use strict"; must stay.
It does not enabled magically if you start to use () => {} instead of function(){}. It a question about a scope isolation.

avatar C-Lodder C-Lodder - change - 16 Jun 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-06-16 08:57:44
Closed_By C-Lodder
Labels Added: NPM Resource Changed ?
avatar C-Lodder C-Lodder - close - 16 Jun 2019
avatar Fedik
Fedik - comment - 16 Jun 2019

@C-Lodder but other parts was good ?

avatar C-Lodder
C-Lodder - comment - 16 Jun 2019

@Fedik - I'll submit a new PR ;)

avatar C-Lodder
C-Lodder - comment - 16 Jun 2019

Add a Comment

Login with GitHub to post a comment