Skip to content

Commit

Permalink
Stop safari from blowing up
Browse files Browse the repository at this point in the history
  • Loading branch information
Friss committed Nov 1, 2014
1 parent 0c6d06d commit 8de7edb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pace

An automatic web page progress bar.

Include [pace.js](https://raw.github.com/HubSpot/pace/v1.0.0/pace.min.js) and a [theme](http://github.hubspot.com/pace/docs/welcome/) of your choice to your page and you are done!
Include [pace.js](https://raw.github.com/HubSpot/pace/v1.0.2/pace.min.js) and a [theme](http://github.hubspot.com/pace/docs/welcome/) of your choice to your page and you are done!

Pace will automatically monitor your Ajax requests, event loop lag, document ready state and elements on your page to decide on the progress.

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "PACE",
"main": "pace.js",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "http://github.hubspot.com/pace/docs/welcome",
"authors": [
"Zack Bloom <[email protected]>",
Expand Down
7 changes: 4 additions & 3 deletions pace.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,11 @@ _WebSocket = window.WebSocket
extendNative = (to, from) ->
for key of from::
try
val = from::[key]
if val in from
val = from::[key]

if not to[key]? and typeof val isnt 'function'
to[key] = val
if not to[key]? and typeof val isnt 'function'
to[key] = val
catch e

ignoreStack = []
Expand Down
10 changes: 7 additions & 3 deletions pace.js

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

4 changes: 2 additions & 2 deletions pace.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pace",
"version": "1.0.1",
"version": "1.0.2",
"description": "Automatic page load progress bar",
"authors": [
"Zack Bloom <[email protected]>",
Expand Down

0 comments on commit 8de7edb

Please sign in to comment.