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

Changed to use stripos instead of regex #6

Merged
merged 1 commit into from
Dec 6, 2020

Conversation

tormjens
Copy link
Contributor

@tormjens tormjens commented Oct 7, 2020

While the regex is probably faster, I'll admit I'm no regex guru, and to me regexes have horrible readability.

I encountered an issue where if I had assets with something after .js or .css it wouldn't be registered with Bonsai.

This is usual when versioning assets via Laravel Mix, so not really an edge case either.

This solves that issue.

While the regex is probably faster, I'll admit I'm no regex guru, and to me regexes have horrible readability.

I encountered an issue where if I had assets with something after `.js` or `.css` it wouldn't be registered with Bonsai.

This solves that issue.
@tormjens
Copy link
Contributor Author

tormjens commented Dec 4, 2020

@kaidesu Yo! Are you guys alive? :)

@kaidesu kaidesu merged commit 423cc86 into caffeinated:master Dec 6, 2020
@tormjens tormjens deleted the patch-1 branch December 14, 2020 11:47
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.

2 participants