Skip to content

Commit 7135615

Browse files
committed
add bower-asset/bootstrap-treeview
1 parent 9b9a0be commit 7135615

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

TreeViewAsset.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
class TreeViewAsset extends AssetBundle
1515
{
1616
public static $customCss = null;
17-
public $sourcePath = '@vendor/lesha724/yii2-bootstrap-tree/assets/bootstrap-treeview';
17+
public $sourcePath = '@bower/bootstrap-treeview/dist';
18+
1819

1920
public $css = [
2021
'bootstrap-treeview.min.css'
@@ -26,7 +27,7 @@ class TreeViewAsset extends AssetBundle
2627

2728
public $depends = [
2829
'yii\web\JqueryAsset',
29-
'yii\bootstrap\BootstrapPluginAsset',
30+
'yii\bootstrap\BootstrapAsset',
3031
];
3132

3233
public function init()

assets/bootstrap-treeview/bootstrap-treeview.min.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/bootstrap-treeview/bootstrap-treeview.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "lesha724/yii2-bootstrap-tree",
3-
"description": "Виджет основыный на [bootstrap-treeview](https://github.com/lesha724/yii2-tree-view)",
3+
"description": "Виджет основаный на bootstrap-treeview (https://github.com/lesha724/yii2-tree-view)",
44
"type": "yii2-extension",
5-
"keywords": ["yii2","extension","bootstrap","tree"],
5+
"keywords": ["yii2","extension","bootstrap","tree","widget","treeview"],
66
"license": "MIT",
77
"authors": [
88
{
@@ -11,7 +11,8 @@
1111
}
1212
],
1313
"require": {
14-
"yiisoft/yii2": "*"
14+
"yiisoft/yii2": "*",
15+
"bower-asset/bootstrap-treeview": "@dev"
1516
},
1617
"autoload": {
1718
"psr-4": {

0 commit comments

Comments
 (0)