Changed '/base/' on url to make it more generic. Added closure to function
I would like to keep the URL /base/ as the default option since that is the default Karma URL of where content is served and maybe have an option to override that instead.
See Karma /base Directory at http://karma-runner.github.io/0.8/plus/RequireJS.html
Hi! I think that the PR of @julianromera is correct, because this not allow to have your custom folders organization.
If you want, you can to use the basePath of karma by default, but if you cannot change the base is a big problem for use it.
If you need a PR I can perform.
@rafa-aguilar sounds good send me a PR