Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
95aea616
Commit
95aea616
authored
Jul 20, 2021
by
Robert Knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use PascalCase naming for types
parent
efc316dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
bridge.js
src/shared/bridge.js
+4
-3
No files found.
src/shared/bridge.js
View file @
95aea616
...
@@ -29,7 +29,8 @@ export default class Bridge {
...
@@ -29,7 +29,8 @@ export default class Bridge {
/**
/**
* Deprecated - Remove after MessagePort conversion
* Deprecated - Remove after MessagePort conversion
* @typedef windowOptions
*
* @typedef WindowOptions
* @prop {Window} source - The source window
* @prop {Window} source - The source window
* @prop {string} origin - The origin of the document in `source`
* @prop {string} origin - The origin of the document in `source`
* @prop {string} token - Shared token between the `source` and this window
* @prop {string} token - Shared token between the `source` and this window
...
@@ -43,7 +44,7 @@ export default class Bridge {
...
@@ -43,7 +44,7 @@ export default class Bridge {
* The created channel is added to the list of channels which `call`
* The created channel is added to the list of channels which `call`
* and `on` send and receive messages over.
* and `on` send and receive messages over.
*
*
* @param {
w
indowOptions|MessagePort} options
* @param {
W
indowOptions|MessagePort} options
* @return {RPC} - Channel for communicating with the window.
* @return {RPC} - Channel for communicating with the window.
*/
*/
createChannel
(
options
)
{
createChannel
(
options
)
{
...
@@ -99,7 +100,7 @@ export default class Bridge {
...
@@ -99,7 +100,7 @@ export default class Bridge {
* The created channel is added to the list of channels which `call`
* The created channel is added to the list of channels which `call`
* and `on` send and receive messages over.
* and `on` send and receive messages over.
*
*
* @param {
w
indowOptions} options
* @param {
W
indowOptions} options
* @return {RPC} - Channel for communicating with the window.
* @return {RPC} - Channel for communicating with the window.
* @deprecated
* @deprecated
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment