Skip to content

Commit 70749bb

Browse files
committed
.
1 parent aed401b commit 70749bb

File tree

313 files changed

+27059
-27059
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

313 files changed

+27059
-27059
lines changed

Diff for: .circleci/download_google_fonts.py

+90-90
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,90 @@
1-
import requests
2-
3-
dirOut = '.circleci/fonts/truetype/googleFonts/'
4-
5-
def download(repo, family, types) :
6-
for t in types :
7-
name = family + t + '.ttf'
8-
url = repo + name + '?raw=true'
9-
print(url)
10-
req = requests.get(url, allow_redirects=True)
11-
open(dirOut + name, 'wb').write(req.content)
12-
13-
download(
14-
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSansMono/',
15-
'NotoSansMono',
16-
[
17-
'-Regular',
18-
'-Bold'
19-
]
20-
)
21-
22-
download(
23-
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSans/',
24-
'NotoSans',
25-
[
26-
'-Regular',
27-
'-Italic',
28-
'-Bold'
29-
]
30-
)
31-
32-
download(
33-
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSerif/',
34-
'NotoSerif',
35-
[
36-
'-Regular',
37-
'-Italic',
38-
'-Bold',
39-
'-BoldItalic',
40-
]
41-
)
42-
43-
download(
44-
'https://github.com/google/fonts/blob/main/ofl/oldstandardtt/',
45-
'OldStandard',
46-
[
47-
'-Regular',
48-
'-Italic',
49-
'-Bold'
50-
]
51-
)
52-
53-
download(
54-
'https://github.com/google/fonts/blob/main/ofl/ptsansnarrow/',
55-
'PT_Sans-Narrow-Web',
56-
[
57-
'-Regular',
58-
'-Bold'
59-
]
60-
)
61-
62-
download(
63-
'https://github.com/impallari/Raleway/blob/master/fonts/v3.000%20Fontlab/TTF/',
64-
'Raleway',
65-
[
66-
'-Regular',
67-
'-Regular-Italic',
68-
'-Bold',
69-
'-Bold-Italic'
70-
]
71-
)
72-
73-
download(
74-
'https://github.com/googlefonts/roboto/blob/main/src/hinted/',
75-
'Roboto',
76-
[
77-
'-Regular',
78-
'-Italic',
79-
'-Bold',
80-
'-BoldItalic'
81-
]
82-
)
83-
84-
download(
85-
'https://github.com/expo/google-fonts/blob/master/font-packages/gravitas-one/',
86-
'GravitasOne',
87-
[
88-
'_400Regular'
89-
]
90-
)
1+
import requests
2+
3+
dirOut = '.circleci/fonts/truetype/googleFonts/'
4+
5+
def download(repo, family, types) :
6+
for t in types :
7+
name = family + t + '.ttf'
8+
url = repo + name + '?raw=true'
9+
print(url)
10+
req = requests.get(url, allow_redirects=True)
11+
open(dirOut + name, 'wb').write(req.content)
12+
13+
download(
14+
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSansMono/',
15+
'NotoSansMono',
16+
[
17+
'-Regular',
18+
'-Bold'
19+
]
20+
)
21+
22+
download(
23+
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSans/',
24+
'NotoSans',
25+
[
26+
'-Regular',
27+
'-Italic',
28+
'-Bold'
29+
]
30+
)
31+
32+
download(
33+
'https://github.com/googlefonts/noto-fonts/blob/main/hinted/ttf/NotoSerif/',
34+
'NotoSerif',
35+
[
36+
'-Regular',
37+
'-Italic',
38+
'-Bold',
39+
'-BoldItalic',
40+
]
41+
)
42+
43+
download(
44+
'https://github.com/google/fonts/blob/main/ofl/oldstandardtt/',
45+
'OldStandard',
46+
[
47+
'-Regular',
48+
'-Italic',
49+
'-Bold'
50+
]
51+
)
52+
53+
download(
54+
'https://github.com/google/fonts/blob/main/ofl/ptsansnarrow/',
55+
'PT_Sans-Narrow-Web',
56+
[
57+
'-Regular',
58+
'-Bold'
59+
]
60+
)
61+
62+
download(
63+
'https://github.com/impallari/Raleway/blob/master/fonts/v3.000%20Fontlab/TTF/',
64+
'Raleway',
65+
[
66+
'-Regular',
67+
'-Regular-Italic',
68+
'-Bold',
69+
'-Bold-Italic'
70+
]
71+
)
72+
73+
download(
74+
'https://github.com/googlefonts/roboto/blob/main/src/hinted/',
75+
'Roboto',
76+
[
77+
'-Regular',
78+
'-Italic',
79+
'-Bold',
80+
'-BoldItalic'
81+
]
82+
)
83+
84+
download(
85+
'https://github.com/expo/google-fonts/blob/master/font-packages/gravitas-one/',
86+
'GravitasOne',
87+
[
88+
'_400Regular'
89+
]
90+
)

Diff for: .circleci/env_build.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/bin/sh
2-
export NODE_OPTIONS='--max-old-space-size=4096' && \
3-
echo "node version: $(node --version)" && \
4-
echo "npm version: $(npm --version)" && \
5-
npm ci && \
6-
npm ls --prod --all
1+
#!/bin/sh
2+
export NODE_OPTIONS='--max-old-space-size=4096' && \
3+
echo "node version: $(node --version)" && \
4+
echo "npm version: $(npm --version)" && \
5+
npm ci && \
6+
npm ls --prod --all

Diff for: .circleci/env_image.sh

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#!/bin/sh
2-
# install required fonts
3-
sudo apt-get install fonts-liberation2 fonts-open-sans fonts-noto-cjk fonts-noto-color-emoji && \
4-
sudo python3 .circleci/download_google_fonts.py && \
5-
sudo cp -r .circleci/fonts/ /usr/share/ && \
6-
sudo fc-cache -f && \
7-
# install kaleido & plotly
8-
sudo python3 -m pip install kaleido==0.2.1 plotly==5.5.0 --progress-bar off
1+
#!/bin/sh
2+
# install required fonts
3+
sudo apt-get install fonts-liberation2 fonts-open-sans fonts-noto-cjk fonts-noto-color-emoji && \
4+
sudo python3 .circleci/download_google_fonts.py && \
5+
sudo cp -r .circleci/fonts/ /usr/share/ && \
6+
sudo fc-cache -f && \
7+
# install kaleido & plotly
8+
sudo python3 -m pip install kaleido==0.2.1 plotly==5.5.0 --progress-bar off

Diff for: .circleci/fonts/truetype/googleFonts/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
*
1+
*

Diff for: .eslintignore

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
stackgl_modules
2-
node_modules
3-
dist
4-
build
5-
6-
tasks/test_amdefine.js
7-
tasks/test_requirejs.js
8-
test/jasmine/assets/jquery-1.8.3.min.js
1+
stackgl_modules
2+
node_modules
3+
dist
4+
build
5+
6+
tasks/test_amdefine.js
7+
tasks/test_requirejs.js
8+
test/jasmine/assets/jquery-1.8.3.min.js

Diff for: .eslintrc

+78-78
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,78 @@
1-
{
2-
"root": true,
3-
"extends": [
4-
"eslint:recommended"
5-
],
6-
"parserOptions": {
7-
"ecmaVersion": 5
8-
},
9-
"env": {
10-
"commonjs": true
11-
},
12-
"globals": {
13-
"Promise": true,
14-
"Float32Array": true,
15-
"Float64Array": true,
16-
"Uint8Array": true,
17-
"Int16Array": true,
18-
"Int32Array": true,
19-
"ArrayBuffer": true,
20-
"DataView": true,
21-
"SVGElement": false
22-
},
23-
"rules": {
24-
"no-trailing-spaces": [2],
25-
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 0}],
26-
"eol-last": [2],
27-
"indent": [0],
28-
"indent-legacy": [2, 4, {"SwitchCase": 1}],
29-
"max-len": [0, 80],
30-
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
31-
"curly": [2, "multi-line"],
32-
"camelcase": [2, {"properties": "never"}],
33-
"comma-spacing": [2, {"before": false, "after": true}],
34-
"comma-style": [2, "last"],
35-
"semi": [2],
36-
"semi-spacing": [2, {"before": false, "after": true}],
37-
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
38-
"keyword-spacing": [2, {"overrides": {
39-
"if": {"after": false},
40-
"for": {"after": false},
41-
"while": {"after": false},
42-
"switch": {"after": false},
43-
"catch": {"after": false}
44-
}}],
45-
"no-spaced-func": [2],
46-
"space-in-parens": [2, "never"],
47-
"space-before-function-paren": [2, "never"],
48-
"space-before-blocks": [2],
49-
"padded-blocks": [2, "never"],
50-
"spaced-comment": [2, "always"],
51-
"no-tabs": [2],
52-
"no-multi-spaces": [2, {"ignoreEOLComments": true}],
53-
"no-whitespace-before-property": [2],
54-
"no-unexpected-multiline": [2],
55-
"no-floating-decimal": [2],
56-
"space-infix-ops": [2, {"int32Hint": true}],
57-
"quotes": [2, "single"],
58-
"quote-props": ["error", "as-needed"],
59-
"dot-notation": [2],
60-
"dot-location": [2, "property"],
61-
"operator-linebreak": [2, "after"],
62-
"eqeqeq": [2],
63-
"new-cap": [2, { "capIsNewExceptionPattern": "^MathJax\\.." }],
64-
"no-redeclare": [2, {"builtinGlobals": true}],
65-
"no-shadow": [0, {"builtinGlobals": true}],
66-
"block-scoped-var": [2],
67-
"no-unused-vars": [2],
68-
"one-var": [2, {"initialized": "never"}],
69-
"no-undef-init": [2],
70-
"no-use-before-define": [2, "nofunc"],
71-
"no-loop-func": [2],
72-
"no-console": [0],
73-
"no-unused-labels": [2],
74-
"no-useless-escape": [0],
75-
"func-name-matching": ["error", "always"],
76-
"no-prototype-builtins": [0]
77-
}
78-
}
1+
{
2+
"root": true,
3+
"extends": [
4+
"eslint:recommended"
5+
],
6+
"parserOptions": {
7+
"ecmaVersion": 5
8+
},
9+
"env": {
10+
"commonjs": true
11+
},
12+
"globals": {
13+
"Promise": true,
14+
"Float32Array": true,
15+
"Float64Array": true,
16+
"Uint8Array": true,
17+
"Int16Array": true,
18+
"Int32Array": true,
19+
"ArrayBuffer": true,
20+
"DataView": true,
21+
"SVGElement": false
22+
},
23+
"rules": {
24+
"no-trailing-spaces": [2],
25+
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 0}],
26+
"eol-last": [2],
27+
"indent": [0],
28+
"indent-legacy": [2, 4, {"SwitchCase": 1}],
29+
"max-len": [0, 80],
30+
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
31+
"curly": [2, "multi-line"],
32+
"camelcase": [2, {"properties": "never"}],
33+
"comma-spacing": [2, {"before": false, "after": true}],
34+
"comma-style": [2, "last"],
35+
"semi": [2],
36+
"semi-spacing": [2, {"before": false, "after": true}],
37+
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
38+
"keyword-spacing": [2, {"overrides": {
39+
"if": {"after": false},
40+
"for": {"after": false},
41+
"while": {"after": false},
42+
"switch": {"after": false},
43+
"catch": {"after": false}
44+
}}],
45+
"no-spaced-func": [2],
46+
"space-in-parens": [2, "never"],
47+
"space-before-function-paren": [2, "never"],
48+
"space-before-blocks": [2],
49+
"padded-blocks": [2, "never"],
50+
"spaced-comment": [2, "always"],
51+
"no-tabs": [2],
52+
"no-multi-spaces": [2, {"ignoreEOLComments": true}],
53+
"no-whitespace-before-property": [2],
54+
"no-unexpected-multiline": [2],
55+
"no-floating-decimal": [2],
56+
"space-infix-ops": [2, {"int32Hint": true}],
57+
"quotes": [2, "single"],
58+
"quote-props": ["error", "as-needed"],
59+
"dot-notation": [2],
60+
"dot-location": [2, "property"],
61+
"operator-linebreak": [2, "after"],
62+
"eqeqeq": [2],
63+
"new-cap": [2, { "capIsNewExceptionPattern": "^MathJax\\.." }],
64+
"no-redeclare": [2, {"builtinGlobals": true}],
65+
"no-shadow": [0, {"builtinGlobals": true}],
66+
"block-scoped-var": [2],
67+
"no-unused-vars": [2],
68+
"one-var": [2, {"initialized": "never"}],
69+
"no-undef-init": [2],
70+
"no-use-before-define": [2, "nofunc"],
71+
"no-loop-func": [2],
72+
"no-console": [0],
73+
"no-unused-labels": [2],
74+
"no-useless-escape": [0],
75+
"func-name-matching": ["error", "always"],
76+
"no-prototype-builtins": [0]
77+
}
78+
}

Diff for: .github/FUNDING.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# These are supported funding model platforms
2-
github: plotly
3-
custom: https://plot.ly/products/consulting-and-oem/
1+
# These are supported funding model platforms
2+
github: plotly
3+
custom: https://plot.ly/products/consulting-and-oem/

0 commit comments

Comments
 (0)