mquandalle / meteor-bower

[DEPRECATED] Use bower packages in your Meteor app
http://bower.io/search/
MIT License
157 stars 28 forks source link

Javascript files not loaded in client when _originalSource != name #104

Open bbennoun opened 8 years ago

bbennoun commented 8 years ago

bower packages that have name != _originalSource are not added to the application at runtime (jquery-ui for example). This is due to the line 95 in handler.js file var pkgName = item.pkgMeta._originalSource || item.pkgName; the solution that I foun is to remove this condition and let only var

pkgName = item.pkgName;

lorensr commented 8 years ago

Hi, jquery-ui appears to be working for me?

image

https://github.com/lorensr/bower-104

topikachu commented 8 years ago

Once the package name is different from folder name, the file are not loaded. For example angular-utils-pagination which has package name angularUtils-pagination.