Skip to content

Commit

Permalink
Merge pull request #1 from nexen2/master
Browse files Browse the repository at this point in the history
makes "tree asset" to don't publish all bower files
  • Loading branch information
Igor Chepurnoy authored Jan 28, 2017
2 parents 726a4de + 1f448ef commit 324289c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions TreeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,26 @@ class TreeAsset extends AssetBundle
/**
* @var string
*/
public $sourcePath = '@bower';
public $sourcePath = '@bower/fancytree/dist';

/**
* @var array
*/
public $css = [
'fancytree/dist/skin-lion/ui.fancytree.css',
'skin-lion/ui.fancytree.css',
];

/**
* @var array
*/
public $js = [
'jquery-ui/jquery-ui.js',
'fancytree/dist/jquery.fancytree.js',
'jquery.fancytree.js',
];

/**
* @var array
*/
public $depends = [
'yii\web\YiiAsset',
'yii\jui\JuiAsset',
];
}

0 comments on commit 324289c

Please sign in to comment.