This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 846
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9c9843
commit 7494eff
Showing
4 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "offline", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"homepage": "http://github.hubspot.com/offline/docs/welcome", | ||
"authors": [ | ||
"Zack Bloom <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"resources": { | ||
"head": [ | ||
{ | ||
"type": "script", | ||
"src": "./offline.min.js" | ||
}, | ||
{ | ||
"type": "style", | ||
"src": "./themes/offline-language-{{ options.language }}.css" | ||
}, | ||
{ | ||
"type": "style", | ||
"src": "./themes/offline-language-{{ options.language }}-indicator.css" | ||
}, | ||
{ | ||
"type": "style", | ||
"src": "./themes/offline-theme-{{ options.theme }}.css" | ||
} | ||
] | ||
}, | ||
"options": { | ||
"properties": { | ||
"language": { | ||
"title": "Language", | ||
"description": "The language of the message displayed to the user when connectivity is lost or regained.", | ||
"type": "string", | ||
"enum": [ | ||
"english", | ||
"spanish", | ||
"french", | ||
"portuguese-brazil" | ||
], | ||
"enumNames": { | ||
"english": "English", | ||
"spanish": "Spanish", | ||
"french": "French", | ||
"portuguese-brazil": "Brazilian Portuguese" | ||
}, | ||
"default": "english" | ||
}, | ||
"theme": { | ||
"title": "Theme", | ||
"description": "The styling of the message. (Previews themes here: http://github.hubspot.com/offline/docs/welcome)", | ||
"type": "string", | ||
"enum": [ | ||
"default", | ||
"dark", | ||
"chrome", | ||
"slide", | ||
"default-indicator", | ||
"dark-indicator", | ||
"chrome-indicator", | ||
"slide-indicator" | ||
], | ||
"enumNames": { | ||
"default": "Default", | ||
"dark": "Dark", | ||
"chrome": "Chrome", | ||
"slide": "Slide", | ||
"default-indicator": "Default (Indicator)", | ||
"dark-indicator": "Dark (Indicator)", | ||
"chrome-indicator": "Chrome (Indicator)", | ||
"slide-indicator": "Slide (Indicator)" | ||
}, | ||
"default": "default" | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "offline", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Automatically detect when a browser is offline", | ||
"authors": [ | ||
"Adam Schwartz <[email protected]>", | ||
|