Closed michalbundyra closed 7 years ago
@webimpress π for removing old and unused stuff
Suggestions:
I think we can reduce the server requests if we would merge (with Gulp):
styles.css
and manual.css
scripts.js
Add the moment the scripts for the portfolio and the jQuery plugin "hoverex" have a hard dependency to the home(page). When we consider the portfolio as a module, then there is no need to add this dependency. (remove the extra folder)
I've changed following libraries:
jQuery
- served from CDN πBootstrap
- served from CDN πFontAwesome
- served from CDN πprismjs
- in npm, compiled and minified (in mainscripts.js
) π¦jquery.hoverex
- moved to asset as it is, there is no npm version (compiled and minified only forhome.js
as it's used only on homepage) π¦ πjquery.isotope
- in npm, compiled and minified (only forhome.js
, used only on homepage) π¦ πretinajs
- seems to be not working properly (also on current website - many 404 in console for files with suffix@2x
), removed βjquery.hoverdir
- seems to be unused, removed βprettyPhoto
- seems to be unused, removed βhtml5shiv
- used for compatibility with IE8 and lower (I think we already decided to not support these browsers anymore), removed βrespond.js
- as above, used for IE8 and older, removed β/cc @froschdesign @weierophinney