Sha256: 37e4a36681cdd3f6424e7dfa7ca9294d2e4374060c4db7e63b94ab2bc5b66958

Contents?: true

Size: 502 Bytes

Versions: 4

Compression:

Stored size: 502 Bytes

Contents

###*
Browser interface
=================
  
@class up.browser
###
up.browser = (->
  
#  safari = false
#  
#  detect = ->
#    agent = navigator.userAgent
#    agentHas = (substring) -> agent.indexOf(substring) >= 1
#    safari = agentHas('Safari') && !agentHas('Chrome')
#    
#  transitionEndEvent = ->
#    if safari
#      'webkitTransitionEnd'
#    else
#      'transitionend'
#
#  detect()
#  
#  transitionEndEvent: transitionEndEvent
  
  url = ->
    location.href
    
  url: url
      
)()

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
upjs-rails-0.3.0 lib/assets/javascripts/up/browser.js.coffee
upjs-rails-0.2.2 lib/assets/javascripts/up/browser.js.coffee
upjs-rails-0.2.1 lib/assets/javascripts/up/browser.js.coffee
upjs-rails-0.2.0 lib/assets/javascripts/up/browser.js.coffee