Closed nottoseethesun closed 10 years ago
@christopherbalz Thanks for reporting this. I'll take a look.
Welcome - I realized this happens under an old version ( 0.0.84, I believe), so perhaps it's been fixed by now. But if not, it would be really good to fix.
Furthermore @pranavparikh, is there any reason it can't be an array of libraries instead of comma separated string?
@redonkulus , There's no reason for it. I fully support having an array instead of comma separated string ( supporting both though for backward compatibility), wherever there is such case. We'll take it up as enhancement. Thanks for the feedback.
@pranavparikh is this the code that needs to change? https://github.com/yahoo/arrow/blob/e42b9d49385463ad641c51dc602c638cd59cf923/lib/util/libmanager.js#L29
ping @pranavparikh @proverma
@redonkulus ,
Trimming each element of the array "arrLib" before processing should work. I'll test it out and make the change.
https://github.com/yahoo/arrow/pull/233 should fix this issue
The fix is out with 0.5.3.
commonLib: "foo.js, bar.js",
fails wherecommonLib: "foo.js,bar.js",
succeeds.However, it is common practice to allow a space in a comma-delimited list, for human readability. The fail is a failure to load the files specified.
commonLib: "foo.js, bar.js",
should succeed.