Commit fe899f3 1 parent 1c9a03d commit fe899f3 Copy full SHA for fe899f3
File tree 2 files changed +32
-32
lines changed
2 files changed +32
-32
lines changed Original file line number Diff line number Diff line change 1
- <?php
2
- namespace thangnm93 \decomposer \ assets ;
3
-
4
- use yii \web \AssetBundle ;
5
- use yii \web \JqueryAsset ;
6
- use yii \bootstrap \BootstrapAsset ;
7
-
8
- /**
9
- * {@inheritDoc}
10
- */
11
- class DecomposerAsset extends AssetBundle {
12
- public $ sourcePath = '@vendor/thangnm93/yii2- decomposer/src/assets ' ;
13
- /**
14
- * {@inheritDoc}
15
- */
16
- public function init () {
17
- $ this ->css = [
18
- 'css/custom.css ' ,
19
- ];
20
- $ this ->js = [
21
- 'js/decomposer.js ' ,
22
- 'js/jquery.dataTables.min.js ' ,
23
- 'js/dataTables.bootstrap.min.js ' ,
24
- 'js/jquery.highlight.js ' ,
25
- 'js/dataTables.searchHighlight.min.js ' ,
26
- ];
27
- $ this ->depends = [
28
- JqueryAsset::class,
29
- BootstrapAsset::class,
30
- ];
31
- }
1
+ <?php
2
+ namespace thangnm93 \decomposer ;
3
+
4
+ use yii \web \AssetBundle ;
5
+ use yii \web \JqueryAsset ;
6
+ use yii \bootstrap \BootstrapAsset ;
7
+
8
+ /**
9
+ * {@inheritDoc}
10
+ */
11
+ class DecomposerAsset extends AssetBundle {
12
+ public $ sourcePath = '@decomposer/src/assets ' ;
13
+ /**
14
+ * {@inheritDoc}
15
+ */
16
+ public function init () {
17
+ $ this ->css = [
18
+ 'css/custom.css ' ,
19
+ ];
20
+ $ this ->js = [
21
+ 'js/decomposer.js ' ,
22
+ 'js/jquery.dataTables.min.js ' ,
23
+ 'js/dataTables.bootstrap.min.js ' ,
24
+ 'js/jquery.highlight.js ' ,
25
+ 'js/dataTables.searchHighlight.min.js ' ,
26
+ ];
27
+ $ this ->depends = [
28
+ JqueryAsset::class,
29
+ BootstrapAsset::class,
30
+ ];
31
+ }
32
32
}
Original file line number Diff line number Diff line change 1
1
<?php
2
- use thangnm93 \decomposer \assets \ DecomposerAsset ;
2
+ use thangnm93 \decomposer \DecomposerAsset ;
3
3
DecomposerAsset::register ($ this );
4
4
$ this ->title = $ title ;
5
5
?>
You can’t perform that action at this time.
0 commit comments