ValidationAsset.php 519 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\validators;
use yii\web\AssetBundle;

/**
12 13
 * This asset bundle provides the javascript files for client validation.
 *
14 15 16 17 18 19
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
class ValidationAsset extends AssetBundle
{
	public $sourcePath = '@yii/assets';
Alexander Makarov committed
20
	public $js = [
21
		'yii.validation.js',
Alexander Makarov committed
22 23
	];
	public $depends = [
24
		'yii\web\YiiAsset',
Alexander Makarov committed
25
	];
26
}