Skip to content

Commit ede80df

Browse files
committed
Remove trailing whitespace
1 parent e5a3cbe commit ede80df

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

pace.coffee

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ defaultOptions =
2222

2323
# This tweaks the animation easing
2424
easeFactor: 1.25
25-
25+
2626
# Should pace automatically start when the page is loaded, or should it wait for `start` to
2727
# be called? Always false if pace is loaded with AMD or CommonJS.
2828
startOnPageLoad: true
2929

3030
# Should we restart the browser when pushState or replaceState is called? (Generally
3131
# means ajax navigation has occured)
3232
restartOnPushState: true
33-
33+
3434
# Should we show the progress bar for every ajax request (not just regular or ajax-y page
3535
# navigation)? Set to false to disable.
3636
#
@@ -44,10 +44,10 @@ defaultOptions =
4444
# How frequently in ms should we check for the elements being tested for
4545
# using the element monitor?
4646
checkInterval: 100
47-
47+
4848
# What elements should we wait for before deciding the page is fully loaded (not required)
4949
selectors: ['body']
50-
50+
5151
eventLag:
5252
# When we first start measuring event lag, not much is going on in the browser yet, so it's
5353
# not uncommon for the numbers to be abnormally low for the first few samples. This configures
@@ -122,7 +122,7 @@ getFromDOM = (key='options', json=true) ->
122122
return unless el
123123

124124
data = el.getAttribute "data-pace-#{ key }"
125-
125+
126126
return data if not json
127127

128128
try
@@ -184,7 +184,7 @@ class Bar
184184
return false
185185

186186
el = @getElement()
187-
187+
188188
el.children[0].style.width = "#{ @progress }%"
189189

190190
if not @lastRenderedProgress or @lastRenderedProgress|0 != @progress|0
@@ -285,7 +285,7 @@ if options.restartOnRequestAfter isnt false
285285
# on every request, we need to hear the request
286286
# and then inject it into the new ajax monitor
287287
# start will have created.
288-
288+
289289
getIntercept().on 'request', ({type, request}) ->
290290
if not Pace.running
291291
args = arguments
@@ -365,7 +365,7 @@ class ElementMonitor
365365
options.selectors ?= []
366366
for selector in options.selectors
367367
@elements.push new ElementTracker selector
368-
368+
369369
class ElementTracker
370370
constructor: (@selector) ->
371371
@progress = 0

0 commit comments

Comments
 (0)