? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
14 Mar 2017

Pull Request for Issue # .

Summary of Changes

The file overrider.min.js is badly compressed and is using eval(). Don't use eval(). Never!

The file is minified from the source (using https://jscompress.com), nothing fancy here, can go on review

Documentation Changes Required

None, but there should be a rule that minified scripts should not use eval function

avatar dgt41 dgt41 - open - 14 Mar 2017
avatar dgt41 dgt41 - change - 14 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2017
Category JavaScript
avatar brianteeman
brianteeman - comment - 14 Mar 2017

agree about not using eval

avatar brianteeman
brianteeman - comment - 14 Mar 2017

(note that json2.js used in com_joomlaupdate uses eval - it is intended to use eval - but as this file is only needed for ie8 support it can probably be dropped in j4)

avatar dgt41
dgt41 - comment - 14 Mar 2017

I did a PR and update it that to jason3 few hours ago ?

avatar brianteeman
brianteeman - comment - 14 Mar 2017

Great minds think alike - didnt see that PR though?

avatar dgt41
dgt41 - comment - 14 Mar 2017

yup, #14594

avatar brianteeman
brianteeman - comment - 14 Mar 2017

ah - thats because you once again have a pr doing multiple things. One PR per task. It makes it so much easier to test.

avatar dgt41
dgt41 - comment - 14 Mar 2017

In this particular case it makes sense to pack all the changes in one PR, as the tester will have to verify that the update still works (all the views files updated are engaged). So breaking it down to minor changes will mean multiple unneeded tests. This is an exemption to the rule, which I agree PRs need to be singular task oriented...

avatar wilsonge wilsonge - change - 14 Mar 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-03-14 10:53:05
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 14 Mar 2017
avatar wilsonge wilsonge - merge - 14 Mar 2017

Add a Comment

Login with GitHub to post a comment