Recently, I encountered a strange issue with Dessandro's Masonry.js library. It was working perfectly fine until it suddenly stopped functioning in Safari and Chrome (I haven't tested it on IE yet), while still working flawlessly in Firefox. Usually, if the problem occurred in Chrome instead of Firefox, I would suspect a CSS-related issue, possibly with transitions. However, in this case, I am unsure where to begin troubleshooting this particular dilemma.
This is the code snippet for Masonry instantiation written in coffeescript:
window.presets = () ->
$(".table-header").hide()
$container = $(".employee-list")
window.msnry = $(".employee-list").masonry(columnWidth: 100)
showGrid msnry
loadImages $container