metafizzy / outlayer

:construction_worker: the brains & guts of a layout library
163 stars 63 forks source link

Wiredep inclusion #32

Closed loganetherton closed 8 years ago

loganetherton commented 9 years ago

It appears as though the change to "main" introduced in this commit causes errors when masonry is included via wiredep. Reverting "main" back to an array of both item.js and outlayer.js gets rid of the error shown below.

Uncaught TypeError: Cannot read property 'Item' of undefined -- outlayer.js:42
Uncaught TypeError: Cannot read property 'create' of undefined -- masonry.js:43
desandro commented 9 years ago

This is part of a larger discussion over what bower.json main should be. I'm currently settling the issue in bower/bower.json-spec#43. outlayer.js is the main entry point.

gablabelle commented 9 years ago

@desandro @loganetherton Hello, FYI I have the same problem today after bower install --save isotope

screen shot 2015-09-11 at 13 56 53

JulianLaval commented 9 years ago

+1!

desandro commented 8 years ago

Closing as a duplicate of #33