Skip to content

Commit 6b92d89

Browse files
committed
Fixed an error "Jquery Error progressbar is not a function" (Close #15)
1 parent 7a46d6d commit 6b92d89

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Yii2 Gentelella Change Log
44
1.3.0 Under development
55
-----------------------
66

7+
1.2.1 March 21, 2017
8+
--------------------
9+
10+
- Fix #15: Fixed an error "Jquery Error progressbar is not a function" (fps01)
711
- Fix #13: Make FlashAlert widget array compatible (al.gushchin)
812

913
1.2.0 August 1, 2016

assets/BootstrapProgressbar.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
/**
3+
* @copyright Copyright (c) 2015 Yiister
4+
* @license https://github.com/yiister/yii2-gentelella/blob/master/LICENSE
5+
* @link http://gentelella.yiister.ru
6+
*/
7+
8+
namespace yiister\gentelella\assets;
9+
10+
use yii\web\AssetBundle;
11+
12+
class BootstrapProgressbar extends AssetBundle
13+
{
14+
public $sourcePath = '@vendor/bower/gentelella/vendors/bootstrap-progressbar/';
15+
public $css = [
16+
// 'css/custom.css',
17+
];
18+
public $js = [
19+
'bootstrap-progressbar.min.js',
20+
];
21+
public $depends = [
22+
'yii\bootstrap\BootstrapPluginAsset',
23+
];
24+
}

assets/ThemeAsset.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ class ThemeAsset extends AssetBundle
2222
'yii\web\YiiAsset',
2323
'yii\bootstrap\BootstrapPluginAsset',
2424
'rmrevin\yii\fontawesome\AssetBundle',
25+
'yiister\gentelella\assets\BootstrapProgressbar',
2526
];
2627
}

0 commit comments

Comments
 (0)