Skip to content

Commit

Permalink
Fix document test on reset
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbloom committed Sep 24, 2013
1 parent 5c982c1 commit 9a86881
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/intro.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pace
====

Include [pace.js](https://raw.github.com/HubSpot/pace/v0.4.9/pace.min.js) and the
Include [pace.js](https://raw.github.com/HubSpot/pace/v0.4.10/pace.min.js) and the
[theme](http://github.hubspot.com/pace/docs/welcome/) css of your choice on your page
(as early as is possible), and you're done!

Expand Down
2 changes: 1 addition & 1 deletion docs/welcome/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ <h2>What is Pace?</h2>
<p style="text-align: left">No need to hook into any of your code, progress is detected automatically.</p>
<br/>
<h2>Download</h2>
<p><a class="button" href="https://raw.github.com/HubSpot/pace/v0.4.9/pace.min.js">Pace.js</a></p>
<p><a class="button" href="https://raw.github.com/HubSpot/pace/v0.4.10/pace.min.js">Pace.js</a></p>
<br/>
<h2>Themes</h2>
<label class="color-label" for="color-select">Enter a color:</label>
Expand Down
2 changes: 1 addition & 1 deletion pace.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class DocumentMonitor
complete: 100

constructor: ->
@progress = 0
@progress = @states[document.readyState] ? 100

_onreadystatechange = document.onreadystatechange
document.onreadystatechange = =>
Expand Down
4 changes: 2 additions & 2 deletions pace.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9a86881

Please sign in to comment.