Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
asantibanez committed Feb 5, 2021
1 parent c5a6879 commit 6ed26c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 57 deletions.
21 changes: 0 additions & 21 deletions src/LaravelBladeSortableFacade.php

This file was deleted.

36 changes: 0 additions & 36 deletions src/LaravelBladeSortableServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,51 +10,15 @@

class LaravelBladeSortableServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
{
/*
* Optional methods to load your package assets
*/
// $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'laravel-blade-sortable');
$this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-blade-sortable');
// $this->loadMigrationsFrom(__DIR__.'/../database/migrations');
// $this->loadRoutesFrom(__DIR__.'/routes.php');

if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/../config/config.php' => config_path('laravel-blade-sortable.php'),
], 'config');

// Publishing the views.
/*$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/laravel-blade-sortable'),
], 'views');*/

// Publishing assets.
/*$this->publishes([
__DIR__.'/../resources/assets' => public_path('vendor/laravel-blade-sortable'),
], 'assets');*/

// Publishing the translation files.
/*$this->publishes([
__DIR__.'/../resources/lang' => resource_path('lang/vendor/laravel-blade-sortable'),
], 'lang');*/

// Registering package commands.
// $this->commands([]);
}

Blade::component('laravel-blade-sortable::sortable', Sortable::class);
Blade::component('laravel-blade-sortable::sortable-item', SortableItem::class);
Blade::component('laravel-blade-sortable::scripts', Scripts::class);
}

/**
* Register the application services.
*/
public function register()
{
//
Expand Down

0 comments on commit 6ed26c2

Please sign in to comment.