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

Commit 7494eff

Browse files
committed
Add install.json
1 parent c9c9843 commit 7494eff

File tree

4 files changed

+73
-3
lines changed

4 files changed

+73
-3
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "offline",
3-
"version": "0.7.4",
3+
"version": "0.7.5",
44
"homepage": "http://github.hubspot.com/offline/docs/welcome",
55
"authors": [
66
"Zack Bloom <zackbloom@gmail.com>",

install.json

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"resources": {
3+
"head": [
4+
{
5+
"type": "script",
6+
"src": "./offline.min.js"
7+
},
8+
{
9+
"type": "style",
10+
"src": "./themes/offline-language-{{ options.language }}.css"
11+
},
12+
{
13+
"type": "style",
14+
"src": "./themes/offline-language-{{ options.language }}-indicator.css"
15+
},
16+
{
17+
"type": "style",
18+
"src": "./themes/offline-theme-{{ options.theme }}.css"
19+
}
20+
]
21+
},
22+
"options": {
23+
"properties": {
24+
"language": {
25+
"title": "Language",
26+
"description": "The language of the message displayed to the user when connectivity is lost or regained.",
27+
"type": "string",
28+
"enum": [
29+
"english",
30+
"spanish",
31+
"french",
32+
"portuguese-brazil"
33+
],
34+
"enumNames": {
35+
"english": "English",
36+
"spanish": "Spanish",
37+
"french": "French",
38+
"portuguese-brazil": "Brazilian Portuguese"
39+
},
40+
"default": "english"
41+
},
42+
"theme": {
43+
"title": "Theme",
44+
"description": "The styling of the message. (Previews themes here: http://github.hubspot.com/offline/docs/welcome)",
45+
"type": "string",
46+
"enum": [
47+
"default",
48+
"dark",
49+
"chrome",
50+
"slide",
51+
"default-indicator",
52+
"dark-indicator",
53+
"chrome-indicator",
54+
"slide-indicator"
55+
],
56+
"enumNames": {
57+
"default": "Default",
58+
"dark": "Dark",
59+
"chrome": "Chrome",
60+
"slide": "Slide",
61+
"default-indicator": "Default (Indicator)",
62+
"dark-indicator": "Dark (Indicator)",
63+
"chrome-indicator": "Chrome (Indicator)",
64+
"slide-indicator": "Slide (Indicator)"
65+
},
66+
"default": "default"
67+
}
68+
}
69+
}
70+
}

offline.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "offline",
3-
"version": "0.7.4",
3+
"version": "0.7.5",
44
"description": "Automatically detect when a browser is offline",
55
"authors": [
66
"Adam Schwartz <adam.flynn.schwartz@gmail.com>",

0 commit comments

Comments
 (0)