Skip to content

Commit 729a36d

Browse files
committed
switch to default print width
1 parent 9004bf6 commit 729a36d

File tree

143 files changed

+8259
-1953
lines changed

Some content is hidden

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

143 files changed

+8259
-1953
lines changed

.esdoc.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"destination": "./api-docs",
44
"plugins": [
55
{ "name": "@itsjamie/esdoc-standard-plugin" },
6-
{ "name": "@itsjamie/esdoc-typescript-plugin", "option": { "enable": true } },
6+
{
7+
"name": "@itsjamie/esdoc-typescript-plugin",
8+
"option": { "enable": true }
9+
},
710
{
811
"name": "@itsjamie/esdoc-ecmascript-proposal-plugin",
912
"option": {

.eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ module.exports = {
2727
2,
2828
{
2929
name: 'window',
30-
message: 'Use `self` instead of `window` to access the global context everywhere (including workers).',
30+
message:
31+
'Use `self` instead of `window` to access the global context everywhere (including workers).',
3132
},
3233
{
3334
name: 'SourceBuffer',

.prettierrc

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"singleQuote": true,
3-
"printWidth": 180
2+
"singleQuote": true
43
}

demo/benchmark.html

+17-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@
1010
<script>
1111
function parseQuery(queryString) {
1212
var query = {};
13-
var pairs = (queryString[0] === '?' ? queryString.substr(1) : queryString).split('&');
13+
var pairs = (queryString[0] === '?'
14+
? queryString.substr(1)
15+
: queryString
16+
).split('&');
1417
for (var i = 0; i < pairs.length; i++) {
1518
var pair = pairs[i].split('=');
16-
query[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1] || '');
19+
query[decodeURIComponent(pair[0])] = decodeURIComponent(
20+
pair[1] || ''
21+
);
1722
}
1823
return query;
1924
}
@@ -24,7 +29,9 @@
2429
return query.hasOwnProperty(name) ? query[name] : undefined;
2530
}
2631

27-
var stream = getParameterByName('stream') || 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8';
32+
var stream =
33+
getParameterByName('stream') ||
34+
'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8';
2835
</script>
2936
<script>
3037
if (Hls.isSupported()) {
@@ -45,7 +52,13 @@
4552
var el = document.getElementById('update');
4653
function foo() {
4754
i++;
48-
el.innerHTML = 'animation:' + i + ',decoded:' + video.webkitDecodedFrameCount + ',dropped:' + video.webkitDroppedFrameCount;
55+
el.innerHTML =
56+
'animation:' +
57+
i +
58+
',decoded:' +
59+
video.webkitDecodedFrameCount +
60+
',dropped:' +
61+
video.webkitDroppedFrameCount;
4962
window.requestAnimationFrame(foo);
5063
}
5164
foo();

0 commit comments

Comments
 (0)