stable

Clone or download

Read-only

request #10289 Use a module-loader for TLP

This change also includes : - 'babel-polyfill' which is needed to fix 'Symbol is undefined' errors in IE11 - 'dom4' polyfill which lets us use HTML5 DOM in IE: classList in SVG elements, remove(), CustomEvent, Element.closest(), etc This change also fixes errors where tlp.select2 code would run on load (causing errors in IE11) How to test: - yarn install in TLP - yarn build should still succeed - yarn watch should now let you build 'non-minified' files to ease debug - As siteadmin, switch your language to french. If you go to a project's history, date pickers and select2 strings should be localized. Change-Id: I37e7a38bae55b95864e93c8bc4efa878116dcc7a

Modified Files

Name
M src/www/themes/common/tlp/gulpfile.js +1 −77 Go to diff View file
M src/www/themes/common/tlp/package.json +16 −11 Go to diff View file
A src/www/themes/common/tlp/src/index.en_US.js +5 −0 Go to diff View file
A src/www/themes/common/tlp/src/index.fr_FR.js +24 −0 Go to diff View file
M src/www/themes/common/tlp/src/js/default_locale.js +2 −4 Go to diff View file
R src/www/themes/common/tlp/src/js/polyfills.js Go to diff View file
M src/www/themes/common/tlp/src/js/dropdowns.js +90 −108 Go to diff View file
M src/www/themes/common/tlp/src/js/filter-inline-table.js +3 −4 Go to diff View file
A src/www/themes/common/tlp/src/js/index.js +47 −0 Go to diff View file
M src/www/themes/common/tlp/src/js/modal.js +104 −111 Go to diff View file
M src/www/themes/common/tlp/src/scss/_vendor.scss +2 −2 Go to diff View file
M src/www/themes/common/tlp/src/vendor-i18n/fr_FR/flatpickr.l10n.fr.js +3 −0 Go to diff View file
M src/www/themes/common/tlp/src/vendor-i18n/fr_FR/tlp.fr.js +2 −2 Go to diff View file
M src/www/themes/common/tlp/src/vendor-overrides/flatpickr.js +6 −4 Go to diff View file
M src/www/themes/common/tlp/src/vendor-overrides/select2.js +7 −4 Go to diff View file
D src/www/themes/common/tlp/src/vendor/.gitignore +0 −1 Go to diff View file
D src/www/themes/common/tlp/src/vendor/flatpickr-1.9.1/LICENSE.md +0 −21 Go to diff View file
D src/www/themes/common/tlp/src/vendor/flatpickr-1.9.1/flatpickr.min.css +0 −1 Go to diff View file
D src/www/themes/common/tlp/src/vendor/flatpickr-1.9.1/flatpickr.min.js +0 −1 Go to diff View file
D src/www/themes/common/tlp/src/vendor/jquery-2.1.0/jquery-2.1.0.min.js +0 −4 Go to diff View file
D src/www/themes/common/tlp/src/vendor/select2-4.0.3/select2.full.min.js +0 −3 Go to diff View file
D src/www/themes/common/tlp/src/vendor/select2-4.0.3/select2.min.css +0 −1 Go to diff View file
A src/www/themes/common/tlp/webpack.config.js +65 −0 Go to diff View file
M src/www/themes/common/tlp/yarn.lock +1333 −716 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +1 −0 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +1 −0 Go to diff View file