Skip to content

Commit

Permalink
Merge pull request laravel#3870 from diogoazevedos/arrow-functions
Browse files Browse the repository at this point in the history
[5.3] Use arrow functions instead of functions
  • Loading branch information
taylorotwell authored Aug 12, 2016
2 parents 788a648 + afb3e1c commit 7bb7ade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require('laravel-elixir-vue');
|
*/

elixir(function(mix) {
elixir(mix => {
mix.sass('app.scss')
.webpack('app.js');
});
2 changes: 1 addition & 1 deletion resources/assets/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require('vue-resource');
* included with Laravel will automatically verify the header's value.
*/

Vue.http.interceptors.push(function (request, next) {
Vue.http.interceptors.push((request, next) => {
request.headers['X-CSRF-TOKEN'] = Laravel.csrfToken;

next();
Expand Down

0 comments on commit 7bb7ade

Please sign in to comment.