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

Qiang Xue committed
8 9
namespace yii\captcha;

10 11 12
use yii\web\AssetBundle;

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