<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace app\assets;

use yii\web\AssetBundle;

/**
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
class PropertyDetailAsset extends AssetBundle
{
    public $sourcePath = '@app/views/property';
    public $css =
    [
        //'detail.css'
    ];
    public $js =
    [
        'https://maps.googleapis.com/maps/api/js?key=AIzaSyD8Ls8RLsCalFAdQ48dPFQL-dEsgs0mF_E&libraries=geometry&sensor=false',
        'map_helper.js',
        'detail.js'
    ];
    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapAsset',
    ];
}

<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace app\assets;

use yii\web\AssetBundle;

/**
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
class PropertyDetailAsset extends AssetBundle
{
    public $sourcePath = '@app/views/property';
    public $css =
    [
        //'detail.css'
    ];
    public $js =
    [
        'https://maps.googleapis.com/maps/api/js?key=AIzaSyD8Ls8RLsCalFAdQ48dPFQL-dEsgs0mF_E&libraries=geometry&sensor=false',
        'map_helper.js',
        'detail.js'
    ];
    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapPluginAsset',
    ];
}

Fix issue that photo-scroller no longer works. This is caused by update to Bootstrap assets in Yii2.
Fix issue that photo-scroller no longer works. This is caused by update to Bootstrap assets in Yii2.
