Sha256: 0ec6c7d24c235f75268b8a3e0f9740ad0db794ca443e46998d99d483bb6ef8c4
Contents?: true
Size: 301 Bytes
Versions: 8
Compression:
Stored size: 301 Bytes
Contents
module GulpHelper def gulp_asset_path(path) path = REV_MANIFEST[path] if defined?(REV_MANIFEST) "/assets/#{path}" end def image_alt(src) super.sub(/\s[0-9A-F]{8}\z/i, '') end def image_tag(image, options = {}) super(gulp_asset_path("images/#{image}"), options) end end
Version data entries
8 entries across 8 versions & 1 rubygems