diff --git a/src/components/retina-img.cjsx b/src/components/retina-img.cjsx index 4c7b3c612..183c13f14 100644 --- a/src/components/retina-img.cjsx +++ b/src/components/retina-img.cjsx @@ -125,6 +125,8 @@ class RetinaImg extends React.Component _pathFor: (name) -> + return null unless name and _.isString(name) + [basename, ext] = name.split('.') if @props.active is true name = "#{basename}-active.#{ext}"