NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
10 Jun 2019

Pull Request for Issue # .

Summary of Changes

As stated in https://volunteers.joomla.org/departments/production/reports/1031-production-dept-meeting-may-28-2019, J4 will no longer support IE11, therefore we do not require [].slice.call(...)

avatar C-Lodder C-Lodder - open - 10 Jun 2019
avatar C-Lodder C-Lodder - change - 10 Jun 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2019
Category JavaScript Repository NPM Change
avatar dgrammatiko
dgrammatiko - comment - 10 Jun 2019

@C-Lodder are you sure that all evergreen browsers treat nodelists as arrays? if not you can convert the [].slice() to Array.from()

3661941 10 Jun 2019 avatar C-Lodder fixes
avatar C-Lodder C-Lodder - change - 10 Jun 2019
Labels Added: NPM Resource Changed ?
f03389a 10 Jun 2019 avatar C-Lodder fixes
avatar C-Lodder
C-Lodder - comment - 10 Jun 2019

@dgrammatiko pretty sure

avatar dgrammatiko
dgrammatiko - comment - 10 Jun 2019

According to MDN https://developer.mozilla.org/en-US/docs/Web/API/NodeList
Opera for Android and Edge Mobile don't support nodeList.forEach()

avatar C-Lodder
C-Lodder - comment - 11 Jun 2019

@dgrammatiko It says the support it unknown. I'll give this a test tomorrow on my phone

avatar C-Lodder
C-Lodder - comment - 11 Jun 2019

@dgrammatiko - Tested on Edge and Opera for mobile and looping through a nodeList with forEach works fine:

https://jsfiddle.net/sjn8z0e7/1/

I'm going to submit a PR to MDN to rectify this.

avatar C-Lodder C-Lodder - change - 13 Jun 2019
Title
Remove [].slice.call
[4.0] Remove [].slice.call
avatar C-Lodder C-Lodder - edited - 13 Jun 2019
18cd24a 13 Jun 2019 avatar C-Lodder Hound
avatar C-Lodder
C-Lodder - comment - 13 Jun 2019

PR submitted: mdn/browser-compat-data#4288

and Hound issues fixed

avatar C-Lodder C-Lodder - change - 9 Jul 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-07-09 07:43:17
Closed_By C-Lodder
avatar C-Lodder C-Lodder - close - 9 Jul 2019

Add a Comment

Login with GitHub to post a comment