Skip to content

Commit

Permalink
Switch off of CDN image
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack Bloom committed Feb 5, 2014
1 parent 4215fb1 commit a8b9773
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "offline",
"version": "0.4.7",
"version": "0.5.0",
"homepage": "http://github.hubspot.com/offline/docs/welcome",
"authors": [
"Zack Bloom <[email protected]>",
Expand Down
6 changes: 3 additions & 3 deletions coffee/offline.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ defaultOptions =

image:
url: ->
# This can be any image, feel free to use our ultra-small gif:
"http://dqakt69vkj09v.cloudfront.net/are-we-online.gif?_=#{ Math.floor(Math.random() * 1000000000) }"
# This can be any image:
"img/tiny-image.gif?_=#{ Math.floor(Math.random() * 1000000000) }"

active: 'image'
active: 'xhr'

checkOnLoad: false

Expand Down
Binary file added img/tiny-image.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions js/offline.js

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

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

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "offline",
"version": "0.4.7",
"version": "0.5.0",
"description": "Automatically detect when a browser is offline",
"authors": [
"Adam Schwartz <[email protected]>",
Expand Down

0 comments on commit a8b9773

Please sign in to comment.