hearsayit / HearsayRequireJSBundle

RequireJS integration for Symfony2.
130 stars 55 forks source link

Packages/paths with .js in the name cannot be used #42

Closed benglass closed 11 years ago

benglass commented 11 years ago

In the 1.0 branch you cannot use any paths that have .js anywhere in them (for example twitter libraries such hogan.js and typeahead.js when installed with bower both include folders in their paths with .js in them). This problem is being caused by .js being replaced with '' in HearsayRequireJSExtension. I believe this should just only be replacing the .js at the end of the path string.