Skip to content

Commit

Permalink
Create SparklineAsset.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrna authored Jul 13, 2016
1 parent cd62321 commit b76c862
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions SparklineAsset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace mrlco\sparkline;

use yii\web\AssetBundle;

/**
* Jquery Sparkline Plugin Asset
*
* @author Mehran Barzandeh <[email protected]>
*/
class SparklineAsset extends AssetBundle
{
public $sourcePath = '@bower/bower-jquery-sparkline/dist';
public $js = ['jquery.sparkline.retina.js'];
public $depends = [
'yii\web\YiiAsset',
];
}

0 comments on commit b76c862

Please sign in to comment.