Commit cf99fb92 authored by Qiang Xue's avatar Qiang Xue

Merge pull request #335 from creocoder/uncompressed-js

Uncompressed assets js files for better final compression
parents ced7c43f 3a1b9c6b
...@@ -11,7 +11,7 @@ return array( ...@@ -11,7 +11,7 @@ return array(
'yii/jquery' => array( 'yii/jquery' => array(
'sourcePath' => __DIR__ . '/assets', 'sourcePath' => __DIR__ . '/assets',
'js' => array( 'js' => array(
'jquery.min.js', YII_DEBUG ? 'jquery.js' : 'jquery.min.js',
), ),
), ),
'yii/validation' => array( 'yii/validation' => array(
...@@ -45,24 +45,24 @@ return array( ...@@ -45,24 +45,24 @@ return array(
'yii/bootstrap' => array( 'yii/bootstrap' => array(
'sourcePath' => __DIR__ . '/assets', 'sourcePath' => __DIR__ . '/assets',
'css' => array( 'css' => array(
'bootstrap/css/bootstrap.css', YII_DEBUG ? 'bootstrap/css/bootstrap.css' : 'bootstrap/css/bootstrap.min.css',
), ),
'js' => array( 'js' => array(
'bootstrap/js/bootstrap.js', YII_DEBUG ? 'bootstrap/js/bootstrap.js' : 'bootstrap/js/bootstrap.min.js',
), ),
'depends' => array('yii/jquery'), 'depends' => array('yii/jquery'),
), ),
'yii/bootstrap-responsive' => array( 'yii/bootstrap-responsive' => array(
'sourcePath' => __DIR__ . '/assets', 'sourcePath' => __DIR__ . '/assets',
'css' => array( 'css' => array(
'bootstrap/css/bootstrap-responsive.css', YII_DEBUG ? 'bootstrap/css/bootstrap-responsive.css' : 'bootstrap/css/bootstrap-responsive.min.css',
), ),
'depends' => array('yii/bootstrap'), 'depends' => array('yii/bootstrap'),
), ),
'yii/punycode' => array( 'yii/punycode' => array(
'sourcePath' => __DIR__ . '/assets', 'sourcePath' => __DIR__ . '/assets',
'js' => array( 'js' => array(
'punycode/punycode.min.js', YII_DEBUG ? 'punycode/punycode.js' : 'punycode/punycode.min.js',
), ),
), ),
); );
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment