Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Add install.json
Browse files Browse the repository at this point in the history
  • Loading branch information
adamschwartz committed Jul 3, 2014
1 parent c9c9843 commit 7494eff
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 3 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.7.4",
"version": "0.7.5",
"homepage": "http://github.hubspot.com/offline/docs/welcome",
"authors": [
"Zack Bloom <zackbloom@gmail.com>",
Expand Down
70 changes: 70 additions & 0 deletions install.json
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"
}
}
}
}
2 changes: 1 addition & 1 deletion 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.7.4",
"version": "0.7.5",
"description": "Automatically detect when a browser is offline",
"authors": [
"Adam Schwartz <adam.flynn.schwartz@gmail.com>",
Expand Down

0 comments on commit 7494eff

Please sign in to comment.