Permalink
Browse files

Add isSafari

  • Loading branch information...
koenbok committed Sep 26, 2014
1 parent 82d933f commit 570630a478ac86395b8ee644a534ecf19a80d553
Showing with 3 additions and 0 deletions.
  1. +3 −0 framer/Utils.coffee
View
@@ -188,6 +188,9 @@ Utils.isWebKit = ->
Utils.isChrome = ->
(/chrome/).test(navigator.userAgent.toLowerCase())
Utils.isSafari = ->
(/safari/).test(navigator.userAgent.toLowerCase())
Utils.isTouch = ->
window.ontouchstart is null

0 comments on commit 570630a

Please sign in to comment.