From 48e35cb83010915aafaa8ee1fe7e9b5eb54045d8 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 29 Jun 2014 21:08:27 -0700 Subject: [PATCH] docs: use valid JSON in compound option value examples Fixes #13874. [skip sauce] --- docs/_includes/js/popovers.html | 4 ++-- docs/_includes/js/tooltips.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 3f5702b49a..ef8e079415 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -175,7 +175,7 @@ $('.popover-dismiss').popover({

Delay showing and hiding the popover (ms) - does not apply to manual trigger type

If a number is supplied, delay is applied to both hide/show

-

Object structure is: delay: { show: 500, hide: 100 }

+

Object structure is: delay: { "show": 500, "hide": 100 }

@@ -225,7 +225,7 @@ $('.popover-dismiss').popover({ string | object { selector: 'body', padding: 0 } -

Keeps the popover within the bounds of this element. Example: viewport: '#viewport' or { selector: '#viewport', padding: 0 }

+

Keeps the popover within the bounds of this element. Example: viewport: '#viewport' or { "selector": "#viewport", "padding": 0 }

diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 858a91ec38..fac4f65197 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -105,7 +105,7 @@ $('#example').tooltip(options)

Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type

If a number is supplied, delay is applied to both hide/show

-

Object structure is: delay: { show: 500, hide: 100 }

+

Object structure is: delay: { "show": 500, "hide": 100 }

@@ -154,7 +154,7 @@ $('#example').tooltip(options) string | object { selector: 'body', padding: 0 } -

Keeps the tooltip within the bounds of this element. Example: viewport: '#viewport' or { selector: '#viewport', padding: 0 }

+

Keeps the tooltip within the bounds of this element. Example: viewport: '#viewport' or { "selector": "#viewport", "padding": 0 }

-- 2.47.2