Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (35 sloc) 887 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\web\assets\garnish;
use craft\web\AssetBundle;
use craft\web\assets\elementresizedetector\ElementResizeDetectorAsset;
use craft\web\assets\jquerytouchevents\JqueryTouchEventsAsset;
use craft\web\assets\velocity\VelocityAsset;
use yii\web\JqueryAsset;
/**
* Garnish asset bundle.
*/
class GarnishAsset extends AssetBundle
{
/**
* @inheritdoc
*/
public function init()
{
$this->sourcePath = '@lib/garnishjs';
$this->depends = [
ElementResizeDetectorAsset::class,
JqueryAsset::class,
JqueryTouchEventsAsset::class,
VelocityAsset::class,
];
$this->js = [
'garnish.js',
];
parent::init();
}
}
You can’t perform that action at this time.