cultofmetatron/jquery-autobars

Not working with subfolders

Opened this issue · 3 comments

It seems this plugin doesn't like it if you have your templates in a subfolder, say, "templates/".

it loads all the content into the "templates" key in the array, as that's what the match is doing for name

Maybe it's better to use /[^/]*(?=.[^.]+($|?))/ match instead of /[a-zA-Z+]/ for the file name?

gcko commented

This was taken care of, see issue #5 and pull request #6

Close this