Commit 48e35cb8 authored by Chris Rebert's avatar Chris Rebert

docs: use valid JSON in compound option value examples

Fixes #13874.
[skip sauce]
parent d23d9ee4
...@@ -175,7 +175,7 @@ $('.popover-dismiss').popover({ ...@@ -175,7 +175,7 @@ $('.popover-dismiss').popover({
<td> <td>
<p>Delay showing and hiding the popover (ms) - does not apply to manual trigger type</p> <p>Delay showing and hiding the popover (ms) - does not apply to manual trigger type</p>
<p>If a number is supplied, delay is applied to both hide/show</p> <p>If a number is supplied, delay is applied to both hide/show</p>
<p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p> <p>Object structure is: <code>delay: { "show": 500, "hide": 100 }</code></p>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -225,7 +225,7 @@ $('.popover-dismiss').popover({ ...@@ -225,7 +225,7 @@ $('.popover-dismiss').popover({
<td>string | object</td> <td>string | object</td>
<td>{ selector: 'body', padding: 0 }</td> <td>{ selector: 'body', padding: 0 }</td>
<td> <td>
<p>Keeps the popover within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ selector: '#viewport', padding: 0 }</code></p> <p>Keeps the popover within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ "selector": "#viewport", "padding": 0 }</code></p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -105,7 +105,7 @@ $('#example').tooltip(options) ...@@ -105,7 +105,7 @@ $('#example').tooltip(options)
<td> <td>
<p>Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type</p> <p>Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type</p>
<p>If a number is supplied, delay is applied to both hide/show</p> <p>If a number is supplied, delay is applied to both hide/show</p>
<p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p> <p>Object structure is: <code>delay: { "show": 500, "hide": 100 }</code></p>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -154,7 +154,7 @@ $('#example').tooltip(options) ...@@ -154,7 +154,7 @@ $('#example').tooltip(options)
<td>string | object</td> <td>string | object</td>
<td>{ selector: 'body', padding: 0 }</td> <td>{ selector: 'body', padding: 0 }</td>
<td> <td>
<p>Keeps the tooltip within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ selector: '#viewport', padding: 0 }</code></p> <p>Keeps the tooltip within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ "selector": "#viewport", "padding": 0 }</code></p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment