vendor/assets/javascripts/holder.js in holder_rails-2.9.2 vs vendor/assets/javascripts/holder.js in holder_rails-2.9.3

- old
+ new

@@ -1,9 +1,9 @@ /*! Holder - client side image placeholders -Version 2.9.2+30pzl +Version 2.9.2+30qun © 2016 Ivan Malopinsky - http://imsky.co Site: http://holderjs.com Issues: https://github.com/imsky/holder/issues License: MIT @@ -796,11 +796,11 @@ el.style.width = dimensions.width + 'px'; el.style.height = dimensions.height + 'px'; } if (engineSettings.renderer == 'html') { - el.style.backgroundColor = theme.background; + el.style.backgroundColor = theme.bg; } else { render(renderSettings); if (flags.textmode == 'exact') { el.holderData.resizeUpdate = true; @@ -828,11 +828,11 @@ } setInitialDimensions(el); if (engineSettings.renderer == 'html') { - el.style.backgroundColor = theme.background; + el.style.backgroundColor = theme.bg; } else { App.vars.resizableImages.push(el); updateResizableElements(el); } } @@ -984,10 +984,10 @@ }); var Shape = sceneGraph.Shape; var holderBg = new Shape.Rect('holderBg', { - fill: scene.theme.background + fill: scene.theme.bg }); holderBg.resize(scene.width, scene.height); sceneGraph.root.add(holderBg);