Commit 7bb7adef authored by Taylor Otwell's avatar Taylor Otwell Committed by GitHub

Merge pull request #3870 from diogoazevedos/arrow-functions

[5.3] Use arrow functions instead of functions
parents 788a6481 afb3e1c9
......@@ -13,7 +13,7 @@ require('laravel-elixir-vue');
|
*/
elixir(function(mix) {
elixir(mix => {
mix.sass('app.scss')
.webpack('app.js');
});
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment