react-photostory
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -45,3 +45,3 @@ import React, { Component, PropTypes } from 'react' | ||
if (width) style.width = width | ||
if (this.state.image) style.backgroundImage = `url(${this.state.image})` | ||
if (this.state.image) style.backgroundImage = `url('${this.state.image}')` | ||
@@ -48,0 +48,0 @@ const mainClass = classNames('rs-img', { |
@@ -91,3 +91,3 @@ 'use strict'; | ||
if (width) style.width = width; | ||
if (this.state.image) style.backgroundImage = 'url(' + this.state.image + ')'; | ||
if (this.state.image) style.backgroundImage = 'url(\'' + this.state.image + '\')'; | ||
@@ -94,0 +94,0 @@ var mainClass = (0, _classnames2.default)('rs-img', { |
@@ -23,2 +23,3 @@ { | ||
"build": "rm -rf dist && babel components --out-dir dist && cp components/swipe.css dist/swipe.css", | ||
"build:watch": "babel --watch components --out-dir dist", | ||
"docs": "build-storybook -o docs" | ||
@@ -83,3 +84,3 @@ }, | ||
}, | ||
"version": "0.2.1" | ||
"version": "0.2.2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32488