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

wrong for '.../myscript.js?version=xxx' in nbl.plus #1

Closed
baochengsoftware opened this issue Apr 7, 2011 · 3 comments
Closed

wrong for '.../myscript.js?version=xxx' in nbl.plus #1

baochengsoftware opened this issue Apr 7, 2011 · 3 comments

Comments

@baochengsoftware
Copy link

wrong for '.../myscript.js?version=xxx' in nbl.plus

@berklee
Copy link
Owner

berklee commented Apr 7, 2011

Closed by e5a3860. Fixed a bug in the naming scheme for JavaScript files with a version number in the query string, e.g. "jquery.js?version=12345" - they now correctly reduce to "jquery".

@berklee berklee closed this as completed Apr 7, 2011
@baochengsoftware
Copy link
Author

bug still exist.I add changed the line "t = u[0].match(/.([cjs]{2,4})$/i);" to "t = u[0].match(/.(js|css).*$/i);" fixed the problem.

@berklee
Copy link
Owner

berklee commented Apr 7, 2011

You're right, I missed that one. I've fixed it correctly now, thanks again for pointing it out!

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