You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then allow developers to point to any location via require "paths". In this way my beautify.js and beautify-css.js don't have to be in my base path, but can be anywhere. this makes it particularly useful with bower.
Thanks
Angel
The text was updated successfully, but these errors were encountered:
(I updated your description to make the code sections more readable - you might take a minute to review and use that markdown in the future.)
I know almost nothing about bower or require.js. If you have a suggested improvement, please implement and submit a pull request. If you can include tests for your suggested improvement, that would be even better. 😄
@attodorov - I've submitted 9c65674 which uses the relative paths solution proposed by @Aaike. I'm going to close this, and it will be included in the next release. Please have a look and say if this is sufficient. If not I will reopen.
I am referring to this line of code:
If i define require config in my app (index.html or whatever), in the following format:
I cannot use it like this:
Wouldn't it be better to do something like this:
and then allow developers to point to any location via require "paths". In this way my beautify.js and beautify-css.js don't have to be in my base path, but can be anywhere. this makes it particularly useful with bower.
Thanks
Angel
The text was updated successfully, but these errors were encountered: