Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.451 kb
# vim: ts=2 sw=2 et :
class Util
constructor: ()->
@ua = navigator.userAgent
@isFF = parseFloat(@ua.split("Firefox/")[1]) || undefined;
@isWK = parseFloat(@ua.split("WebKit/")[1]) || undefined;
@isOpera = parseFloat(@ua.split("Opera/")[1]) || undefined;
@transitionEnd = if @isWK
"webkitTransitionEnd"
else
if @isFF
"transitionend"
else
"OTransitionEnd"
window.Util = Util
Jump to Line
Something went wrong with that request. Please try again.