@w0s/button-media-same-play 3.0.4 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonMediaSamePlay.d.ts","sourceRoot":"","sources":["../src/buttonMediaSamePlay.ts"],"names":[],"mappings":"AAIA;;;;GAIG;yBACa,aAAa,iBAAiB,KAAG,IAAI;AAArD,
|
|
1
|
+
{"version":3,"file":"buttonMediaSamePlay.d.ts","sourceRoot":"","sources":["../src/buttonMediaSamePlay.ts"],"names":[],"mappings":"AAIA;;;;GAIG;yBACa,aAAa,iBAAiB,KAAG,IAAI;AAArD,wBAkBE"}
|
|
@@ -10,10 +10,12 @@ export default (thisElement) => {
|
|
|
10
10
|
const ariaControlsAttribute = thisElement.getAttribute('aria-controls');
|
|
11
11
|
const controls = new Controles(ariaControlsAttribute);
|
|
12
12
|
const status = new Status();
|
|
13
|
-
thisElement.addEventListener('click',
|
|
14
|
-
|
|
13
|
+
thisElement.addEventListener('click', (ev) => {
|
|
14
|
+
clickEvent(ev, {
|
|
15
15
|
controls: controls,
|
|
16
16
|
status: status,
|
|
17
|
+
}).catch((e) => {
|
|
18
|
+
throw e;
|
|
17
19
|
});
|
|
18
20
|
}, { passive: true });
|
|
19
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonMediaSamePlay.js","sourceRoot":"","sources":["../src/buttonMediaSamePlay.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAE1C;;;;GAIG;AACH,eAAe,CAAC,WAA8B,EAAQ,EAAE;IACvD,MAAM,qBAAqB,GAAG,WAAW,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;IAExE,MAAM,QAAQ,GAAG,IAAI,SAAS,CAAC,qBAAqB,CAAC,CAAC;IACtD,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;IAE5B,WAAW,CAAC,gBAAgB,CAC3B,OAAO,EACP,
|
|
1
|
+
{"version":3,"file":"buttonMediaSamePlay.js","sourceRoot":"","sources":["../src/buttonMediaSamePlay.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAE1C;;;;GAIG;AACH,eAAe,CAAC,WAA8B,EAAQ,EAAE;IACvD,MAAM,qBAAqB,GAAG,WAAW,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;IAExE,MAAM,QAAQ,GAAG,IAAI,SAAS,CAAC,qBAAqB,CAAC,CAAC;IACtD,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;IAE5B,WAAW,CAAC,gBAAgB,CAC3B,OAAO,EACP,CAAC,EAAc,EAAE,EAAE;QAClB,UAAU,CAAC,EAAE,EAAE;YACd,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,MAAM;SACd,CAAC,CAAC,KAAK,CAAC,CAAC,CAAU,EAAE,EAAE;YACvB,MAAM,CAAC,CAAC;QACT,CAAC,CAAC,CAAC;IACJ,CAAC,EACD,EAAE,OAAO,EAAE,IAAI,EAAE,CACjB,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w0s/button-media-same-play",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Simultaneous playback button for multiple audio / video",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/SaekiTominaga/js-library-browser#readme",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/SaekiTominaga/js-library-browser/issues"
|
|
9
9
|
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/SaekiTominaga/js-library-browser.git"
|
|
13
|
+
},
|
|
10
14
|
"license": "MIT",
|
|
11
15
|
"author": "Saeki Tominaga",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"module": "dist/index.js",
|
|
19
|
+
"types": "dist/index.d.ts",
|
|
12
20
|
"files": [
|
|
13
21
|
"dist/**/*.d.ts",
|
|
14
22
|
"!dist/**/*.test.d.ts",
|
|
@@ -19,14 +27,6 @@
|
|
|
19
27
|
"dist/**/*.js.map",
|
|
20
28
|
"!dist/**/*.test.js.map"
|
|
21
29
|
],
|
|
22
|
-
"type": "module",
|
|
23
|
-
"main": "dist/index.js",
|
|
24
|
-
"module": "dist/index.js",
|
|
25
|
-
"types": "dist/index.d.ts",
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/SaekiTominaga/js-library-browser.git"
|
|
29
|
-
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"dev": "conc \"http-server -o demo -c-1\" \"tsc -w\"",
|
|
32
32
|
"prebuild": "rimraf dist/* -g",
|