This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
'use strict'; | |
module.exports = function (element, callback) { | |
var allImgsLength = 0; | |
var allImgsLoaded = 0; | |
var allImgs = []; | |
var filtered = Array.prototype.filter.call(element.querySelectorAll('img'), function (item) { | |
if (item.src === '') { | |
return false; |