Sha256: 3cbc9e37471a5f56c653371868576e7359e9e9fa732fb2ef7f77b72651742e0f
Contents?: true
Size: 513 Bytes
Versions: 5
Compression:
Stored size: 513 Bytes
Contents
started = false domReady = -> if document.attachEvent document.readyState is "complete" else document.readyState isnt "loading" nextFrame = (fn) -> requestAnimationFrame?(fn) ? setTimeout(fn, 17) startController = -> controller = LocalTime.getController() controller.start() LocalTime.start = -> unless started started = true if MutationObserver? or domReady() startController() else nextFrame(startController) if window.LocalTime is LocalTime LocalTime.start()
Version data entries
5 entries across 5 versions & 1 rubygems