Skip to content
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

Remove let statements in views #67

Open
prinsss opened this issue Feb 24, 2018 · 1 comment
Open

Remove let statements in views #67

prinsss opened this issue Feb 24, 2018 · 1 comment

Comments

@prinsss
Copy link

prinsss commented Feb 24, 2018

For maximum browser compatibility, I think we should use var instead.

https://github.com/fxcosta/laravel-chartjs/blob/master/src/resources/views/chart-template.blade.php#L6

@mikebranderhorst
Copy link

use let if compile is used (which makes var from let) else use var

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

No branches or pull requests

2 participants