var ready = function(fn) {
    if (document.readyState != 'loading') {
        fn();
    } else if (document.addEventListener) {
        document.addEventListener('DOMContentLoaded', fn);
    } else {
        document.attachEvent('onreadystatechange', function() {
        if (document.readyState != 'loading')
            fn();
        });
    }
}

ready(function() {
    LazyLoad.css('https://fonts.googleapis.com/css?family=Raleway:400,700');

    LazyLoad.js('https://cdnjs.cloudflare.com/ajax/libs/blazy/1.6.2/blazy.min.js', function() {
        new Blazy({
            offset: 500,
        });
    });

    LazyLoad.css('/dist/extended.css');

    LazyLoad.js('https://cdnjs.cloudflare.com/ajax/libs/feature.js/1.0.1/feature.min.js', function() {
        if (feature.cssTransform && feature.cssTransition && feature.viewportUnit) {
            LazyLoad.css('/dist/full.css');
        }
    });
});

var ready = function(fn) {
    if (document.readyState != 'loading') {
        fn();
    } else if (document.addEventListener) {
        document.addEventListener('DOMContentLoaded', fn);
    } else {
        document.attachEvent('onreadystatechange', function() {
        if (document.readyState != 'loading')
            fn();
        });
    }
}

ready(function() {
    LazyLoad.css('https://fonts.googleapis.com/css?family=Raleway:400,700');

    LazyLoad.js('https://cdnjs.cloudflare.com/ajax/libs/blazy/1.6.2/blazy.min.js', function() {
        new Blazy({
            offset: 500,
        });
    });

    LazyLoad.css('dist/extended.css');

    LazyLoad.js('https://cdnjs.cloudflare.com/ajax/libs/feature.js/1.0.1/feature.min.js', function() {
        if (feature.cssTransform && feature.cssTransition && feature.viewportUnit) {
            LazyLoad.css('dist/full.css');
        }
    });
});

Remove slash from asset paths.
Remove slash from asset paths.
