Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagotalma committed Apr 22, 2014
1 parent 59a4845 commit 61de654
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion widgets/InputMaskAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
*/
class InputMaskAsset extends AssetBundle
{
/**
* @inheritdoc
*/
public $depends = [
'yii\web\JqueryAsset',
];
Expand All @@ -27,7 +30,7 @@ class InputMaskAsset extends AssetBundle
*/
public function init()
{
$this->$js = 'jquery.inputmask.bundle' . (YII_DEBUG ? '' : '.min') . '.js';
$this->js = ['jquery.inputmask.bundle' . (YII_DEBUG ? '' : '.min') . '.js'];
$this->sourcePath = __DIR__ . '/../assets';
parent::init();
}
Expand Down

0 comments on commit 61de654

Please sign in to comment.