Sha256: 0f873314258001c8b57adf19f9cb19063a2935d986bc7a972347be7fbf2e92a4
Contents?: true
Size: 452 Bytes
Versions: 17
Compression:
Stored size: 452 Bytes
Contents
Turbolinks.start = -> if installTurbolinks() Turbolinks.controller ?= createController() Turbolinks.controller.start() installTurbolinks = -> window.Turbolinks ?= Turbolinks moduleIsInstalled() createController = -> controller = new Turbolinks.Controller controller.adapter = new Turbolinks.BrowserAdapter(controller) controller moduleIsInstalled = -> window.Turbolinks is Turbolinks Turbolinks.start() if moduleIsInstalled()
Version data entries
17 entries across 16 versions & 8 rubygems