PSR 4 alias change
This commit is contained in:
parent
a9dcb2c50a
commit
77b5bbfed1
26
.gitattributes
vendored
26
.gitattributes
vendored
|
@ -1,26 +0,0 @@
|
|||
# Autodetect text files
|
||||
* text=auto
|
||||
|
||||
# ...Unless the name matches the following overriding patterns
|
||||
|
||||
# Definitively text files
|
||||
*.php text
|
||||
*.css text
|
||||
*.js text
|
||||
*.txt text
|
||||
*.md text
|
||||
*.xml text
|
||||
*.json text
|
||||
*.bat text
|
||||
*.sql text
|
||||
*.xml text
|
||||
*.yml text
|
||||
|
||||
# Ensure those won't be messed up with
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.gif binary
|
||||
*.ttf binary
|
||||
*.svg binary
|
||||
*.eot binary
|
||||
*.woff binary
|
|
@ -19,6 +19,7 @@ class FancytreeAsset extends \yii\web\AssetBundle
|
|||
*/
|
||||
public $depends = [
|
||||
'yii\web\JqueryAsset',
|
||||
'yii\jui\JuiAsset'
|
||||
];
|
||||
|
||||
/**
|
||||
|
@ -44,9 +45,9 @@ class FancytreeAsset extends \yii\web\AssetBundle
|
|||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setSourcePath(__DIR__ . '/../assets');
|
||||
$this->setSourcePath(__DIR__ . '/assets');
|
||||
$this->setupAssets('css', ['skin-lion/ui.fancytree']);
|
||||
$this->setupAssets('js', ['http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui', 'jquery.fancytree']);
|
||||
$this->setupAssets('js', ['jquery.fancytree']);
|
||||
parent::init();
|
||||
}
|
||||
|
|
@ -20,6 +20,6 @@
|
|||
"yiisoft/yii2-jui": "*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": { "wbraganca\\": "" }
|
||||
"psr-4": { "wbraganca\\fancytree\\": "" }
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue