This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**Jeff Escalante** | |
# Dato & Contentful | |
There are many areas in which I'd consider Dato to be much stronger of a CMS than | |
contentful, and one in which I'd consider the opposite to be the case. I will try to be as | |
balanced as possible with this overview, as I am not employed by dato or anything ‐ my | |
goal is to ensure that my clients and developers get the best possible experience working | |
with a CMS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $('img.photo',this).imagesLoaded(myFunction) | |
// execute a callback when all images have loaded. | |
// needed because .load() doesn't work on cached images | |
// Modified with a two-pass approach to changing image | |
// src. First, the proxy imagedata is set, which leads | |
// to the first callback being triggered, which resets | |
// imagedata to the original src, which fires the final, | |
// user defined callback. |