showcar-ui
Version:
Showcar-ui is the pattern library that is used to build the frontend of AutoScout24. It provides CSS classes, custom elements and components.
45 lines (37 loc) • 1.35 kB
HTML
<head>
<meta name="theme-color" content="#FFFFFF" />
<script data-pagespeed-no-defer pagespeed_no_defer>
@@SCRIPT_ERROR_COLLECTOR
@@POLYFILL_DOM4
@@POLYFILL_DOCUMENT_REGISTER_ELEMENT
@@POLYFILL_ARRAY
@@POLYFILL_STRING
@@POLYFILL_OBJECT
@@POLYFILL_PROMISE
@@POLYFILL_FETCH
@@POLYFILL_URL_SEARCH_PARAMS
(function(w) {
if(!w.__proto__){l('https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js')}
if(!w.HTMLPictureElement){l('https://cdnjs.cloudflare.com/ajax/libs/picturefill/3.0.2/picturefill.min.js',1)}
function l(url,a){document.write('<script '+(a&&'async')+' src="'+url+'"></'+'script>')}
function ready (cb) {
if(document.readyState !== 'loading') {
return setTimeout(cb);
}
window.addEventListener('DOMContentLoaded', cb);
}
function loadScript(src) {
var s = document.createElement('script');
s.src = src;
var x =document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}
ready(function() {
loadScript('@@ASSET_PATH/showcar-icons.js');
loadScript('@@ASSET_PATH/showcar-tracking.js');
});
}(window))
</script>
<link rel="stylesheet" href="@@ASSET_PATH/showcar-ui.css" />
</head>
<script src="@@ASSET_PATH/showcar-ui.js"></script>