Register collection of assets.

@return void
198544
public function registerAssetsCollection()
    {
        $this->app->singleton('assets.collection', function ($app) {
            return new AssetsCollection;
        });

        $this->app->alias('assets.collection', AssetsCollection::class);
    }
613322
public function registerAssets()
    {
        $config = Yii::$app->wechat->js->config($this->apiList);
        $view = $this->getView();
        WechatAsset::register($view);
        $view->registerJs("wx.config({$config});wx.error(function(res){console.error(res.errMsg);});wx.ready(function (){console.info('wechat jssdk init.');});", View::POS_END);
    }
916147
protected function registerAssets()
    {
        $view = $this->getView();
        ChosenSelectAsset::register($view);
        $js = '$("#' . $this->options['id'] . '").chosen(' . $this->getPluginOptions() . ');';
        $view->registerJs($js, $view::POS_END);
    }
1321375
public function registerActionsCollection()
    {
        $this->app->singleton('ajaxes.collection', function ($app) {
            return new ActionsCollection;
        });

        $this->app->alias('ajaxes.collection', ActionsCollection::class);
    }
48400
public function registerAssets()
    {
        $view = $this->getView();
        $asset = NotyAsset::register($view);
        $asset->animateCss = $this->registerAnimateCss;
        $asset->buttonsCss = $this->registerButtonsCss;
        $asset->fontAwesomeCss = $this->enableIcon && $this->registerFontAwesomeCss;
    }
445260
protected function registerAssets()
    {
        $view = $this->getView();
        SelectizeAsset::register($view);
        $js = '$("#' . $this->getInputId() . '").selectize(' . $this->getPluginOptions() . ');';
        $view->registerJs($js, $view::POS_END);
    }
398020
protected function registerAssets()
    {
        do_action("before_theme_register_assets");

        $assets = $this->getConfig("assets");

        add_action("wp_enqueue_scripts", function () use ($assets) {
            foreach ($assets as $id => $asset) :
                $file = strpos($asset["file"], "//") === false ? get_template_directory_uri() . "/public/" . $asset["file"] : $asset["file"];
                if ($asset["type"] == "js") :
                    wp_enqueue_script($id, $file, $asset["dependencies"], $asset["version"], $asset["footer"]);
                elseif ($asset["type"] == "css") :
                    wp_enqueue_style($id, $file, $asset["dependencies"], $asset["version"], "all");
                endif;
            endforeach;
        });

        do_action("after_theme_register_assets");
    }
883818
public function registerAssetPipelineFilters()
    {
        foreach ($this->parser->config['filters'] as $filters)
        {
            foreach ($filters as $filter)
            {
                if (method_exists($filter, 'setAssetPipeline'))
                {
                    $filter->setAssetPipeline($this);
                }
            }
        }

        foreach ($this->generator->config['filters'] as $filters)
        {
            foreach ($filters as $filter)
            {
                if (method_exists($filter, 'setAssetPipeline'))
                {
                    $filter->setAssetPipeline($this);
                }
            }
        }

        return $this;
    }
282540
protected function registerAssets() {
		$cs = Yii::app()->clientScript;
		$cs->registerCoreScript('jquery');

		$assets_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'assets';
		$url = Yii::app()->assetManager->publish($assets_path, false, -1, Yii::app()->assetManager->linkAssets?false:YII_DEBUG);
		if ($this->cssFile) $cs->registerCssFile($url . '/css/auth.css');

		// Open the authorization dilalog in popup window.
		if ($this->popup) {
			$cs->registerScriptFile($url . '/js/auth.js', CClientScript::POS_END);
			$js = '';
			foreach ($this->services as $name => $service) {
				$args = $service->jsArguments;
				$args['id'] = $service->id;
				$js .= '$(".auth-service.' . $service->id . ' a").eauth(' . json_encode($args) . ');' . "\n";
			}
			$cs->registerScript('eauth-services', $js, CClientScript::POS_READY);
		}
	}
1210076
public function registerAssetFiles($view)
    {
        switch ($this->theme) {
            case Quill::THEME_SNOW:
                $this->css = [$this->url . $this->version . '/quill.snow.css'];
                break;

            case Quill::THEME_BUBBLE:
                $this->css = [$this->url . $this->version . '/quill.bubble.css'];
                break;

            default:
                $this->css = [$this->url . $this->version . '/quill.core.css'];
        }
        
        $this->js = [$this->url . $this->version . '/quill.min.js'];
        
        parent::registerAssetFiles($view);
    }
1360813
public function registerRoutesCollection()
    {
        $this->app->singleton('routes.collection', function ($app) {
            return new RoutesCollection;
        });

        $this->app->alias('routes.collection', RoutesCollection::class);
    }
1015114
public function register()
	{
		$this->package('codesleeve/asset-pipeline');

		include_once __DIR__.'/AssetPipelineGlobalHelpers.php';

		$this->app['asset'] = $this->app->share(function($app)
		{
			$config = $app->config->get('asset-pipeline::config');
			$config['base_path'] = base_path();
			$config['environment'] = $app['env'];

			$parser = new SprocketsParser($config);
			$generator = new SprocketsGenerator($config);

			$pipeline = new AssetPipeline($parser, $generator);

			// let other packages hook into pipeline configuration
			$app['events']->fire('asset.pipeline.boot', $pipeline);

			return $pipeline->registerAssetPipelineFilters();
		});

		$this->app['assets.setup'] = $this->app->share(function($app)
		{
			return new Commands\AssetsSetupCommand;
		});

		$this->app['assets.clean'] = $this->app->share(function($app)
		{
			return new Commands\AssetsCleanCommand;
		});

		$this->app['assets.generate'] = $this->app->share(function($app)
		{
			return new Commands\AssetsGenerateCommand;
		});

		$this->commands('assets.setup');
		$this->commands('assets.clean');
		$this->commands('assets.generate');
	}
1153604
public function registerAssets()
    {
        $view = $this->getView();
        $bundle = NotyAsset::register($view);
        $bundle->animateCss = $this->registerAnimateCss;
        $bundle->buttonsCss = $this->registerButtonsCss;
    }
996402
protected function registerAssets()
    {
        // If we have to hide the deleted comments, we will define the javascript
        // to destroy the comment instead of the default functionality.
        if ($this->showDeletedComments === FALSE)
        {
            $this->clientOptions['deleteComment'] = TRUE;
        }

        $view = $this->getView();
        $options = Json::encode($this->clientOptions);
        CommentAsset::register($view);
        $view->registerJs('jQuery.comment(' . $options . ');');
    }
1298256
public function register_asset( \Amarkal\Assets\AbstractAsset $new_asset )
    {
        if( NULL == $this->assets ) {
            $this->assets = array();
            $this->assets[] = $new_asset;
        }
        else {
            foreach( $this->assets as $asset ) {
                if( $asset->handle == $new_asset->handle && get_class($asset) == get_class($new_asset) ) {
                    throw new DuplicateAssetException("An asset with the handle {$new_asset->handle} already exists");
                }
            }
            $this->assets[] = $new_asset;
        }
    }
21868
private function _registerAssets()
    {
        if ($this->frontendTranslationAsset) {
            Yii::$app->view->registerAssetBundle($this->frontendTranslationAsset);
        }

        if ($this->frontendTranslationPluginAsset) {
            Yii::$app->view->registerAssetBundle($this->frontendTranslationPluginAsset);
        }
    }
1309728
protected function registerAssets()
    {
        $view = $this->getView();
        MarkdownEditorAsset::register($view);
        $varName = Inflector::variablize('editor_' . $this->id);
        $script = "var {$varName} = new SimpleMDE(" . $this->getEditorOptions() . ');';
        $view->registerJs($script);
        $css = <<<CSS
.wonail-markdown{z-index:{$this->zIndex};}
.wonail-markdown .editor-toolbar.fullscreen{z-index:{$this->zIndex}}
.wonail-markdown .CodeMirror-fullscreen{z-index: {$this->zIndex}}
.wonail-markdown .editor-statusbar{z-index: {$this->zIndex}}
CSS;
        $view->registerCss($css);
    }