Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use const and destructuring assignment #4111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2017
Merged

Use const and destructuring assignment #4111

merged 1 commit into from
Jan 23, 2017

Conversation

diogoazevedos
Copy link
Contributor

Is a good practice use const with require and more elegant use destructuring assignment.

@RomainLanz
Copy link

We should also remove semicolon, but it's another story

@taylorotwell
Copy link
Member

It doesn't matter.

@taylorotwell
Copy link
Member

Jeffrey says its fine so I will merge I guess.

@taylorotwell taylorotwell reopened this Jan 23, 2017
taylorotwell added a commit that referenced this pull request Jan 23, 2017
Use const and destructuring assignment
@taylorotwell taylorotwell merged commit fa7d9df into laravel:develop Jan 23, 2017
@JeffreyWay
Copy link
Contributor

JeffreyWay commented Jan 24, 2017

const sucks.

Anyways, I'm going to set it up so that we can just do require('laravel-mix') without the added .mix part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants