Register framework assets.

@return void
545265
private function registerAssets()
    {
        $this->app['asset.factory']->add('assely-styles', [
            'path' => ASSELY_FRAMEWORK_URI . 'public/css/assely.css',
        ])->area('admin');

        $this->app['asset.factory']->add('parsleyjs', [
            'path' => ASSELY_FRAMEWORK_URI . 'public/js/vendors/parsley.js',
            'placement' => 'head',
        ])->area('admin');

        $this->app['asset.factory']->add('vue', [
            'path' => ASSELY_FRAMEWORK_URI . 'public/js/vendors/vue.js',
            'placement' => 'head',
        ])->area('admin');

        $this->app['asset.factory']->add('assely-components', [
            'path' => ASSELY_FRAMEWORK_URI . 'public/js/assely-components.js',
            'placement' => 'head',
            'dependences' => ['jquery', 'underscore', 'vue', 'parsleyjs'],
        ])->localize('Assely', [$this, 'localizationData'])->area('admin');
    }
796814
public function registerAssets()
    {
        $id = $this->options['id'];
        $view = $this->getView();
        CoreAsset::register($view);
        $cleanOptions = $this->getClientOptions();
        $js[] = "$('textarea.element-$id').textareaAutoSize();";
        $view->registerJs(implode("\n", $js),View::POS_READY);
    }
1044443
protected function registerAssetPublisher()
    {
        $this->app->singleton('orchestra.publisher.asset', function (Application $app) {
            return new AssetManager($app, $app->make('asset.publisher'));
        });
    }
249355
public function registerFacades()
    {
        AliasLoader::getInstance($this->facades);

        # Auto-register alias
        foreach ($this->facades as $alias => $name) {
            AliasLoader::getInstance()->alias($alias, $name);
        }
    }
662299
protected function registerAssets()
    {
        $view = $this->getView();
        BxSliderAsset::register($view);
        $js = '$("#' . $this->containerOptions['id'] . '").bxSlider(' . $this->getPluginOptions() . ');';
        $view->registerJs($js, $view::POS_END);

    }
1156262
private function registerAssets()
    {
        $al = AssetList::getInstance();
        $al->registerMultiple([
            'jquery/scroll-to' => [
                ['javascript', 'js/jquery.scrollTo.min.js', ['minify' => true, 'combine' => true, 'version' => '2.1.2'], $this],
            ],
            'community_translation/online_translation/bootstrap' => [
                ['javascript', 'js/bootstrap.min.js', ['minify' => false, 'combine' => true], $this],
            ],
            'community_translation/online_translation/markdown-it' => [
                ['javascript', 'js/markdown-it.min.js', ['minify' => false, 'combine' => true], $this],
            ],
            'community_translation/online_translation/core' => [
                ['css', 'css/online-translation.css', ['minify' => false, 'combine' => true], $this],
                ['javascript', 'js/online-translation.js', ['minify' => true, 'combine' => true], $this],
            ],
            'jquery/comtraSortable' => [
                ['css', 'css/jquery.comtraSortable.css', ['minify' => true, 'combine' => true], $this],
                ['javascript', 'js/jquery.comtraSortable.js', ['minify' => true, 'combine' => true], $this],
            ],
        ]);
        $al->registerGroupMultiple([
            'jquery/scroll-to' => [
                [
                    ['javascript', 'jquery'],
                    ['javascript', 'jquery/scroll-to'],
                ],
            ],
            'community_translation/online_translation' => [
                [
                    ['css', 'community_translation/online_translation/core'],
                    ['javascript', 'community_translation/online_translation/bootstrap'],
                    ['javascript', 'community_translation/online_translation/markdown-it'],
                    ['javascript', 'community_translation/online_translation/core'],
                ],
            ],
            'jquery/comtraSortable' => [
                [
                    ['css', 'font-awesome'],
                    ['css', 'jquery/comtraSortable'],
                    ['javascript', 'jquery/comtraSortable'],
                ],
            ],
        ]);
    }
470140
public function register() {
        $this->registerFilesystemProvider();
        $this->registerDatabaseProvider();
        $this->registerCompressorProvider();
        $this->registerShellProcessor();
        $this->registerArtisanCommands();
    }
865310
protected function registerFoundation()
    {
        $this->app['antares.installed']               = false;
        $this->app['antares.ui-components.installed'] = false;
        $this->app->singleton('antares.app', function ($app) {
            return new Foundation($app);
        });
    }
308515
public function registerAssetFactory()
    {
        $this->app->singleton('asset.factory', function ($app) {
            return new AssetFactory($app['assets.collection'], $app);
        });

        $this->app->alias('asset.factory', AssetFactory::class);
    }
145158
public function register()
	{
        $this->app->singleton('basement', function()
        {
            // retrieve settings from app/config/database.php
            extract(Config::get('database.couchbase'));

            $defaults = array(
                'name' => 'default',
                'host' => isset($host) ? $host : '127.0.0.1',
                'bucket' => isset($bucket) ? $bucket : 'default',
                'password' => isset($password) ? $password : null,
                'user' => null,
                'persist' => isset($persist_conn) ? $persist_conn : false,
                'connect' => true,
                'transcoder' => 'json',
				'environment' => preg_match('/dev|local/i', App::environment()) ? 'development' : App::environment()
            );

            return new Client($defaults);
        });

        // Shortcut so developers don't need to add an Alias in app/config/app.php
        $this->app->booting(function()
        {
            $loader = AliasLoader::getInstance();
            $loader->alias('Cb', 'Shift31\LaravelBasement\Facades\Cb');
        });
	}
718442
protected function registerFoundation()
    {
        $this->app['orchestra.installed'] = false;

        $this->app->singleton('orchestra.app', function (Application $app) {
            return new Foundation($app, new RouteResolver($app));
        });
    }
298514
public function registerScripts()
    {
        $view = $this->getView();

        Asset::register($view);
        if ($this->crop === true) {
            CropAsset::register($view);
        }

        $view->registerJs(
            'jQuery(\'#' . $this->getSelector() . '\').fileapi(' . Json::encode($this->settings) .');'
        );

        $this->registerCallbacks();
    }
501534
private function registerConfigs()
    {
        $this->app->singleton('config.framework', function () {
            return new FrameworkConfig($this->getConfigs());
        });

        $this->app->alias('config.framework', FrameworkConfig::class);
    }
499245
public function registerAssets()
    {
        foreach (array_merge($this->assets, $this->getTheme()->assets) as $asset) {
            /** @var AssetBundle $asset */
            $asset::register($this->getView());
        }
    }
1005208
public function register()
    {
        $this->app->singleton('white-frame.support.framework', function ($app) {
            return new \WhiteFrame\Support\Framework();
        });

        $this->app->singleton('white-frame.support.helper.manager', function ($app) {
            return new \WhiteFrame\Support\Helper\Manager();
        });
    }
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 . ');');
    }
866676
protected function registerPlugins()
    {
        if (isset($this->clientOptions['plugins']) && count($this->clientOptions['plugins'])) {
            foreach ($this->clientOptions['plugins'] as $plugin) {
                $js = 'plugins/' . $plugin . '/' . $plugin . '.js';
                if (file_exists($this->sourcePath . DIRECTORY_SEPARATOR . $js)) {
                    $this->assetBundle->js[] = $js;
                }
                $css = 'plugins/' . $plugin . '/' . $plugin . '.css';
                if (file_exists($this->sourcePath . DIRECTORY_SEPARATOR . $css)) {
                    $this->assetBundle->css[] = $css;
                }
            }
        }
    }