File tree Expand file tree Collapse file tree 5 files changed +27
-11
lines changed
docs-site/src/components/bolt-select Expand file tree Collapse file tree 5 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ export function createSelectOptions(options) {
37
37
const selectOptions = Array . from ( options ) ;
38
38
return selectOptions . map (
39
39
option =>
40
- wire (
41
- this ,
42
- ) `<option value= ${ option . value } selected= ${ option . selected } > ${ option . text } </option>`,
40
+ wire ( this ) `<option value= ${ option . value } selected= ${ option . selected } > ${
41
+ option . text
42
+ } </option>`,
43
43
) ;
44
44
}
45
45
Original file line number Diff line number Diff line change @@ -79,7 +79,9 @@ async function createWebpackConfig(buildConfig) {
79
79
// Default global Sass data defined
80
80
let globalSassData = [
81
81
`$bolt-namespace: ${ config . namespace } ;` ,
82
- `$bolt-css-vars-json-data-export: ${ themifyOptions . fallback . jsonDataExport } ;` ,
82
+ `$bolt-css-vars-json-data-export: ${
83
+ themifyOptions . fallback . jsonDataExport
84
+ } ;`,
83
85
// output $bolt-lang variable in Sass even if not specified so things fall back accordingly.
84
86
`${ config . lang ? `$bolt-lang: ${ config . lang } ;` : '$bolt-lang: null;' } ` ,
85
87
] ;
@@ -167,7 +169,9 @@ async function createWebpackConfig(buildConfig) {
167
169
168
170
if ( ! config . prod && config . webpackDevServer && useHotMiddleware ) {
169
171
entry [ globalEntryName ] . push (
170
- `webpack-hot-middleware/client?name=${ config . lang } &noInfo=true&quiet=true&logLevel=silent&reload=true` ,
172
+ `webpack-hot-middleware/client?name=${
173
+ config . lang
174
+ } &noInfo=true&quiet=true&logLevel=silent&reload=true`,
171
175
) ;
172
176
}
173
177
}
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ const octokit = new Octokit({
22
22
throttle : {
23
23
onRateLimit : ( retryAfter , options ) => {
24
24
console . warn (
25
- `Github API Request quota exhausted for request ${ options . method } ${ options . url } ` ,
25
+ `Github API Request quota exhausted for request ${ options . method } ${
26
+ options . url
27
+ } `,
26
28
) ;
27
29
28
30
// only retry if wait is 15 seconds or less
@@ -40,7 +42,9 @@ const octokit = new Octokit({
40
42
onAbuseLimit : ( retryAfter , options ) => {
41
43
// does not retry, only logs a warning
42
44
console . warn (
43
- `Github API abuse detected for request ${ options . method } ${ options . url } ` ,
45
+ `Github API abuse detected for request ${ options . method } ${
46
+ options . url
47
+ } `,
44
48
) ;
45
49
} ,
46
50
} ,
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ module.exports = {
29
29
function ( result ) {
30
30
browser . assert . ok (
31
31
result . value === 1.25 ,
32
- `verified that <bolt-video> play rate has sped up to ${ result . value } ` ,
32
+ `verified that <bolt-video> play rate has sped up to ${
33
+ result . value
34
+ } `,
33
35
) ;
34
36
} ,
35
37
)
@@ -87,7 +89,9 @@ module.exports = {
87
89
function ( result ) {
88
90
browser . assert . ok (
89
91
result . value > 1 ,
90
- `<bolt-video> starts playing when <bolt-button> is clicked -- verified since the current video's play time is ${ result . value } seconds` ,
92
+ `<bolt-video> starts playing when <bolt-button> is clicked -- verified since the current video's play time is ${
93
+ result . value
94
+ } seconds`,
91
95
) ;
92
96
} ,
93
97
)
Original file line number Diff line number Diff line change @@ -31,12 +31,16 @@ class BoltVideoMeta extends withPreact() {
31
31
< div className = { `c-${ bolt . namespace } -video-meta__wrapper` } >
32
32
{ this . title ? (
33
33
< div
34
- className = { `c-${ bolt . namespace } -video-meta__item c-${ bolt . namespace } -video-meta__item--title` } >
34
+ className = { `c-${ bolt . namespace } -video-meta__item c-${
35
+ bolt . namespace
36
+ } -video-meta__item--title`} >
35
37
{ this . title }
36
38
</ div >
37
39
) : null }
38
40
< div
39
- className = { `c-${ bolt . namespace } -video-meta__item c-${ bolt . namespace } -video-meta__item--duration` } >
41
+ className = { `c-${ bolt . namespace } -video-meta__item c-${
42
+ bolt . namespace
43
+ } -video-meta__item--duration`} >
40
44
{ this . duration }
41
45
</ div >
42
46
</ div >
You can’t perform that action at this time.
0 commit comments