Commit 9f46ca44 authored by Robert Speicher's avatar Robert Speicher

Decrease the logo sweep delay

parent 7df3c1e8
NProgress.configure(showSpinner: false)
delay = 150
defaultClass = 'tanuki-shape'
pieces = [
'path#tanuki-right-cheek',
......@@ -12,7 +13,7 @@ firstPiece = pieces[0]
timeout = null
clearHighlights = ->
$(".#{defaultClass}").attr('class', defaultClass)
$(".#{defaultClass}.highlight").attr('class', defaultClass)
start = ->
clearHighlights()
......@@ -40,7 +41,7 @@ work = (pieceIndex) ->
nextIndex = pieceIndex + 1
work(nextIndex)
, 200)
, delay)
$(document).on 'page:fetch', start
$(document).on 'page:change', stop
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment