Browse Source

array syntax fix.

tags/2.0.0-alpha
Qiang Xue 12 years ago
parent
commit
f39415cda5
  1. 2
      Progress.php

2
Progress.php

@ -48,7 +48,7 @@ use yii\helpers\Html;
* 'bars' => [
* ['percent' => 30, 'options' => ['class' => 'bar-danger']],
* ['percent' => 30, 'label' => 'test', 'options' => ['class' => 'bar-success']],
* ['percent' => 35, 'options' => array['class' => 'bar-warning']],
* ['percent' => 35, 'options' => ['class' => 'bar-warning']],
* ]
* ]);
* ```

Loading…
Cancel
Save