Permalink
Browse files

Added recommended parentheses

When using arrow functions, parentheses are recommended if the function takes a single argument and uses curly braces. See section 8.4 of Airbnb's JavaScript style guide, one of the most popular.
1 parent d22b32f commit 3222e302eb94f276462e27503b4f1845f17bca36 @jirehstudios jirehstudios committed on GitHub Oct 21, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 gulpfile.js
View
@@ -13,7 +13,7 @@ require('laravel-elixir-vue-2');
|
*/
-elixir(mix => {
+elixir((mix) => {
mix.sass('app.scss')
.webpack('app.js');
});

0 comments on commit 3222e30

Please sign in to comment.