assets.php 1.18 KB
Newer Older
Qiang Xue committed
1 2 3
<?php

return array(
Qiang Xue committed
4
	'yii' => array(
Qiang Xue committed
5 6
		'sourcePath' => __DIR__ . '/assets',
		'js' => array(
Qiang Xue committed
7
			'yii.js',
Qiang Xue committed
8
		),
Qiang Xue committed
9
		'depends' => array('yii/jquery'),
Qiang Xue committed
10
	),
Qiang Xue committed
11
	'yii/jquery' => array(
Qiang Xue committed
12 13
		'sourcePath' => __DIR__ . '/assets',
		'js' => array(
Alexander Kochetov committed
14
			YII_DEBUG ? 'jquery.js' : 'jquery.min.js',
Qiang Xue committed
15 16
		),
	),
Qiang Xue committed
17 18 19
	'yii/validation' => array(
		'sourcePath' => __DIR__ . '/assets',
		'js' => array(
Qiang Xue committed
20
			'yii.validation.js',
Qiang Xue committed
21 22 23
		),
		'depends' => array('yii'),
	),
Qiang Xue committed
24 25 26
	'yii/form' => array(
		'sourcePath' => __DIR__ . '/assets',
		'js' => array(
Qiang Xue committed
27
			'yii.activeForm.js',
Qiang Xue committed
28
		),
29
		'depends' => array('yii'),
Qiang Xue committed
30
	),
31 32 33 34 35 36 37
	'yii/captcha' => array(
		'sourcePath' => __DIR__ . '/assets',
		'js' => array(
			'yii.captcha.js',
		),
		'depends' => array('yii'),
	),
38 39 40 41 42 43
	'yii/punycode' => array(
		'sourcePath' => __DIR__ . '/assets',
		'js' => array(
			YII_DEBUG ? 'punycode/punycode.js' : 'punycode/punycode.min.js',
		),
	),
44 45 46 47 48 49 50
	'yii/maskedinput' => array(
		'sourcePath' => __DIR__ . '/assets',
		'js' => array(
			'jquery.maskedinput.js',
		),
		'depends' => array('yii/jquery'),
	),
Qiang Xue committed
51 52 53 54 55 56 57 58 59 60
	'yii/debug' => array(
		'sourcePath' => __DIR__ . '/debug/assets',
		'css' => array(
			'main.css',
		),
		'depends' => array(
			'yii',
			'yii/bootstrap/responsive',
		),
	),
Zander Baldwin committed
61
);