Permalink
Browse files

Switch off of CDN image

  • Loading branch information...
1 parent 4215fb1 commit a8b97735e8ccf360f8415a8281dd5a5e43c8c718 Zack Bloom committed Feb 5, 2014
Showing with 9 additions and 9 deletions.
  1. +1 −1 bower.json
  2. +3 −3 coffee/offline.coffee
  3. BIN img/tiny-image.gif
  4. +2 −2 js/offline.js
  5. +2 −2 offline.min.js
  6. +1 −1 package.json
View
@@ -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 <zbloom@hubspot.com>",
View
@@ -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
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -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 <aschwartz@hubspot.com>",

0 comments on commit a8b9773

Please sign in to comment.