Skip to content
Permalink
Browse files

Allow for hosted images

  • Loading branch information...
koenbok committed May 7, 2015
1 parent 27c6950 commit 3fc11e790656c37670b4d027d4dafe865cdb1891
Showing with 4 additions and 0 deletions.
  1. +4 −0 framer/Components/DeviceComponent.coffee
@@ -272,8 +272,12 @@ class exports.DeviceComponent extends BaseClass
return "#{@_deviceType}.png"

_deviceImageUrl: (name) ->

return null unless name

if _.startsWith(name, "http://") or _.startsWith(name, "https://")
return name

if Utils.isFramerStudio() and window.FramerStudioInfo
resourceUrl = window.FramerStudioInfo.deviceImagesUrl
else

0 comments on commit 3fc11e7

Please sign in to comment.
You can’t perform that action at this time.