-
Notifications
You must be signed in to change notification settings - Fork 217
Conversation
Thanks for the patch, @kenchan0130. Why exactly did you go with all the conditionals? Why can't we always use the jQuery-free approach? |
In my understanding, <script src="masonry.pkgd.min.js"></script>
<script src="imagesloaded.pkgd.min.js"></script>
<script src="angular.min.js"></script>
<script src="angular-masonry.min.js"></script> In this case, the following errors can occur.
so, I added the conditionals. |
Sorry, I'm a bit confused by this. I still don't quite get why that split is necessary. |
In view of performance on mobile, I have not added jQuery in certain project. |
Is it because latest masonry went vanilla, and angular masonry is assuming jquery loaded in masonry? |
But the goal should be to completely remove the dependency on jQuery, which I thought would be possible. The other patch was almost there, just had some issues with the patches if I recall correctly. |
+1 Thanks! |
This PR is working for me without jQuery in my project. Would be great to see it merged into |
+1 will this be merged? |
Sorry, but as I mentioned this is not the approach I'd like to see. I'm still very much in favor of removing the jQuery dependency, but I much prefer the way #41 took. |
Got ya - thanks! |
Closing since this has been stale. Feel free to comment or re-submit an updated PR. |
different from #41 approach.
maybe, using a lot of
if
block is not cool at all...