User tests: Successful: Unsuccessful:
Updates the webcomponents polyfills and also corrects the last update resources as it was wrong since no minification of the css and js was applied
Pull Request for Issue # .
@wilsonge please merge this!
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Templates (admin) JavaScript |
@astridx the polyfills come from the repo Joomla-projects/custom-elements(https://github.com/joomla-projects/custom-elements/tree/master/dist/polyfills), check these lines that copy the files from the node_modules folder to the media/system/js/polyfills:
joomla-cms/build/build-modules-js/update.js
Lines 209 to 212 in b6c8828
Ok looks like just one warning is still showing up in drone until he is happy (http://ci.joomla.org/joomla/joomla-cms/2749/5):
+ node_modules/karma/bin/karma start karma.conf.js --single-run
30 01 2018 09:41:06.646:WARN [watcher]: Pattern "/drone/src/github.com/joomla/joomla-cms/media/system/webcomponents/joomla-alert.min.js" does not match any file.
Looks like a file that don't exist anymore?
ok so the other PR needs to be merged first and this one updated or a owner hit merge here as this is a required status check
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-30 19:13:42 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
With this patch I neither see the warning in the console of the browser nor in the javascript tests. So it is fine.
But I wonder where the file /media/system/js/polyfills/webcomponents/webcomponents-ce.js comes from. Is it a special file for Joomla! ?