docs(travis): Update protocol.md - a6bab96 [skip ci]

This commit is contained in:
Travis CI 2017-11-14 08:24:23 +00:00
parent a6bab968f5
commit 002bf08b97
2 changed files with 20 additions and 6 deletions

View File

@ -3998,7 +3998,8 @@
], ],
"return": [ "return": [
"{boolean} `is_local_file` Indicates that a local file is in use.", "{boolean} `is_local_file` Indicates that a local file is in use.",
"{String} `url` Url or file path.", "{String} `local_file` file path.",
"{String} `url` Url.",
"{String} `css` CSS to inject.", "{String} `css` CSS to inject.",
"{int} `width` Width.", "{int} `width` Width.",
"{int} `height` Height.", "{int} `height` Height.",
@ -4016,10 +4017,15 @@
"name": "is_local_file", "name": "is_local_file",
"description": "Indicates that a local file is in use." "description": "Indicates that a local file is in use."
}, },
{
"type": "String",
"name": "local_file",
"description": "file path."
},
{ {
"type": "String", "type": "String",
"name": "url", "name": "url",
"description": "Url or file path." "description": "Url."
}, },
{ {
"type": "String", "type": "String",
@ -4097,7 +4103,8 @@
"{String (optional)} `scene-name` Name of the scene that the source belongs to. Defaults to the current scene.", "{String (optional)} `scene-name` Name of the scene that the source belongs to. Defaults to the current scene.",
"{String} `source` Name of the source.", "{String} `source` Name of the source.",
"{boolean (optional)} `is_local_file` Indicates that a local file is in use.", "{boolean (optional)} `is_local_file` Indicates that a local file is in use.",
"{String (optional)} `url` Url or file path.", "{String (optional)} `local_file` file path.",
"{String (optional)} `url` Url.",
"{String (optional)} `css` CSS to inject.", "{String (optional)} `css` CSS to inject.",
"{int (optional)} `width` Width.", "{int (optional)} `width` Width.",
"{int (optional)} `height` Height.", "{int (optional)} `height` Height.",
@ -4125,10 +4132,15 @@
"name": "is_local_file", "name": "is_local_file",
"description": "Indicates that a local file is in use." "description": "Indicates that a local file is in use."
}, },
{
"type": "String (optional)",
"name": "local_file",
"description": "file path."
},
{ {
"type": "String (optional)", "type": "String (optional)",
"name": "url", "name": "url",
"description": "Url or file path." "description": "Url."
}, },
{ {
"type": "String (optional)", "type": "String (optional)",

View File

@ -1722,7 +1722,8 @@ Get current properties for a Browser Source.
| Name | Type | Description | | Name | Type | Description |
| ---- | :---: | ------------| | ---- | :---: | ------------|
| `is_local_file` | _boolean_ | Indicates that a local file is in use. | | `is_local_file` | _boolean_ | Indicates that a local file is in use. |
| `url` | _String_ | Url or file path. | | `local_file` | _String_ | file path. |
| `url` | _String_ | Url. |
| `css` | _String_ | CSS to inject. | | `css` | _String_ | CSS to inject. |
| `width` | _int_ | Width. | | `width` | _int_ | Width. |
| `height` | _int_ | Height. | | `height` | _int_ | Height. |
@ -1747,7 +1748,8 @@ Set current properties for a Browser Source.
| `scene-name` | _String (optional)_ | Name of the scene that the source belongs to. Defaults to the current scene. | | `scene-name` | _String (optional)_ | Name of the scene that the source belongs to. Defaults to the current scene. |
| `source` | _String_ | Name of the source. | | `source` | _String_ | Name of the source. |
| `is_local_file` | _boolean (optional)_ | Indicates that a local file is in use. | | `is_local_file` | _boolean (optional)_ | Indicates that a local file is in use. |
| `url` | _String (optional)_ | Url or file path. | | `local_file` | _String (optional)_ | file path. |
| `url` | _String (optional)_ | Url. |
| `css` | _String (optional)_ | CSS to inject. | | `css` | _String (optional)_ | CSS to inject. |
| `width` | _int (optional)_ | Width. | | `width` | _int (optional)_ | Width. |
| `height` | _int (optional)_ | Height. | | `height` | _int (optional)_ | Height. |