Skip to content

Commit

Permalink
Merge pull request #5 from Edofre/v1.0.4
Browse files Browse the repository at this point in the history
Proper usage of bower asset include
  • Loading branch information
Edofre committed Nov 23, 2016
2 parents d31e4fd + 51458f5 commit ff10b20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $ php composer.phar require edofre/laravel-fullcalendar
or add

```
"edofre/laravel-fullcalendar": "1.0.3"
"edofre/laravel-fullcalendar": "1.0.4"
```

to the ```require``` section of your `composer.json` file.
Expand Down
12 changes: 6 additions & 6 deletions src/FullcalendarServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ public function boot()
// publish all the required files to generate the calendar
$this->publishes([
// fullcalendar library
__DIR__ . '/../../../bower/fullcalendar/dist/fullcalendar.css' => public_path('css/fullcalendar.css'),
__DIR__ . '/../../../bower/fullcalendar/dist/fullcalendar.print.css' => public_path('css/fullcalendar.print.css'),
__DIR__ . '/../../../bower/fullcalendar/dist/fullcalendar.js' => public_path('js/fullcalendar.js'),
__DIR__ . '/../../../bower/fullcalendar/dist/locale-all.js' => public_path('js/locale-all.js'),
__DIR__ . '/../../../bower/fullcalendar/dist/gcal.js' => public_path('js/gcal.js'),
__DIR__ . '/../../../bower-asset/fullcalendar/dist/fullcalendar.css' => public_path('css/fullcalendar.css'),
__DIR__ . '/../../../bower-asset/fullcalendar/dist/fullcalendar.print.css' => public_path('css/fullcalendar.print.css'),
__DIR__ . '/../../../bower-asset/fullcalendar/dist/fullcalendar.js' => public_path('js/fullcalendar.js'),
__DIR__ . '/../../../bower-asset/fullcalendar/dist/locale-all.js' => public_path('js/locale-all.js'),
__DIR__ . '/../../../bower-asset/fullcalendar/dist/gcal.js' => public_path('js/gcal.js'),
// moment library
__DIR__ . '/../../../bower/moment/moment.js' => public_path('js/moment.js'),
__DIR__ . '/../../../bower-asset/moment/moment.js' => public_path('js/moment.js'),
], 'fullcalendar');
}

Expand Down

0 comments on commit ff10b20

Please sign in to comment.