<?php
/**
 * @link https://craftcms.com/
 * @copyright Copyright (c) Pixel & Tonic, Inc.
 * @license https://craftcms.github.io/license/
 */

namespace craft\web\assets\pluginstoreoauth;

use craft\web\AssetBundle;
use craft\web\assets\cp\CpAsset;

/**
 * Asset bundle for the Plugin Store page
 */
class PluginStoreOauthAsset extends AssetBundle
{
    /**
     * @inheritdoc
     */
    public function init()
    {
        $this->sourcePath = __DIR__ . '/dist';

        $this->depends = [
            CpAsset::class
        ];

        $this->js = [
            'parseFragmentString' . $this->dotJs(),
            'PluginStoreOauthCallback' . $this->dotJs(),
        ];

        $this->css = [
            'pluginstore-oauth-callback.css',
        ];

        parent::init();
    }
}
