function outputOverview(country) {

        /**
         * Print data in html block
         */
        country.output('section.overview');

        $('section.overview section.place-view').css('background-image', 'url("img/countries/' + country.data('code') + '.png")');

        var $block = $('section.grid div.overview-block div.row').empty();

        /**
         * Output cities data
         */
        dummyData.countries.Russia.getCities('popular').map(function(city) {

            $block.append(
                $('<div/>', {
                    'class': 'grid-item clearfix col-md-6'
                }).append(
                    $('<img/>', {
                        'class': 'grid-item__img'
                    }).attr('src', 'img/cities/' + city.data('name').replace(' ', '-') + '--thumb.jpg').attr('alt', city.data('name'))
                ).append(
                    $('<div/>', {
                        'class': 'grid-item-wrapper'
                    }).append(
                        $('<a/>', {
                            'class': 'grid-item__title',
                            'html': city.data('name'),
                            'href': 'city.html'
                        })
                    ).append(
                        $('<section/>', {
                            'class': 'social-stats'
                        }).append(
                            $('<div/>', {
                                'class': 'social-stats__item social-stats-item'
                            }).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__icon fa fa-star'
                                })
                            ).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__value',
                                    'html': city.data('rating')
                                })
                            )
                        ).append(
                            $('<div/>', {
                                'class': 'social-stats__item social-stats-item'
                            }).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__icon fa fa-comment'
                                })
                            ).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__value',
                                    'html': city.data('comments')
                                })
                            )
                        )
                    )
                )
            );

        });

    }
/**
     * Print overview window with country data
     * @param  {Country} country
     */
Print overview window with country data
@param  {Country} country
Print overview window with country data @param { Country } country
function outputOverview(country) {
        country.output('section.overview');
        $('section.overview section.place-view').css('background-image', 'url("img/countries/' + country.data('code') + '.png")');
        var $block = $('section.grid div.overview-block div.row').empty();
        dummyData.countries.Russia.getCities('popular').map(function(city) {
            $block.append(
                $('<div/>', {
                    'class': 'grid-item clearfix col-md-6'
                }).append(
                    $('<img/>', {
                        'class': 'grid-item__img'
                    }).attr('src', 'img/cities/' + city.data('name').replace(' ', '-') + '--thumb.jpg').attr('alt', city.data('name'))
                ).append(
                    $('<div/>', {
                        'class': 'grid-item-wrapper'
                    }).append(
                        $('<a/>', {
                            'class': 'grid-item__title',
                            'html': city.data('name'),
                            'href': 'city.html'
                        })
                    ).append(
                        $('<section/>', {
                            'class': 'social-stats'
                        }).append(
                            $('<div/>', {
                                'class': 'social-stats__item social-stats-item'
                            }).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__icon fa fa-star'
                                })
                            ).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__value',
                                    'html': city.data('rating')
                                })
                            )
                        ).append(
                            $('<div/>', {
                                'class': 'social-stats__item social-stats-item'
                            }).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__icon fa fa-comment'
                                })
                            ).append(
                                $('<span/>', {
                                    'class': 'social-stats-item__value',
                                    'html': city.data('comments')
                                })
                            )
                        )
                    )
                )
            );
        });
    }
function outputOverview ( country ) { country . output ( 'section.overview' ) ; $ ( 'section.overview section.place-view' ) . css ( 'background-image' , 'url("img/countries/' + country . data ( 'code' ) + '.png")' ) ; var $block = $ ( 'section.grid div.overview-block div.row' ) . empty ( ) ; dummyData . countries . Russia . getCities ( 'popular' ) . map ( function ( city ) { $block . append ( $ ( '<div/>' , { 'class' : 'grid-item clearfix col-md-6' } ) . append ( $ ( '<img/>' , { 'class' : 'grid-item__img' } ) . attr ( 'src' , 'img/cities/' + city . data ( 'name' ) . replace ( ' ' , '-' ) + '--thumb.jpg' ) . attr ( 'alt' , city . data ( 'name' ) ) ) . append ( $ ( '<div/>' , { 'class' : 'grid-item-wrapper' } ) . append ( $ ( '<a/>' , { 'class' : 'grid-item__title' , 'html' : city . data ( 'name' ) , 'href' : 'city.html' } ) ) . append ( $ ( '<section/>' , { 'class' : 'social-stats' } ) . append ( $ ( '<div/>' , { 'class' : 'social-stats__item social-stats-item' } ) . append ( $ ( '<span/>' , { 'class' : 'social-stats-item__icon fa fa-star' } ) ) . append ( $ ( '<span/>' , { 'class' : 'social-stats-item__value' , 'html' : city . data ( 'rating' ) } ) ) ) . append ( $ ( '<div/>' , { 'class' : 'social-stats__item social-stats-item' } ) . append ( $ ( '<span/>' , { 'class' : 'social-stats-item__icon fa fa-comment' } ) ) . append ( $ ( '<span/>' , { 'class' : 'social-stats-item__value' , 'html' : city . data ( 'comments' ) } ) ) ) ) ) ) ; } ) ; }
Print overview window with country data
 @param  {Country} country
Print overview window with country data @param { Country } country
/**
         * Print data in html block
         */ /**
         * Output cities data
         */