aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-04-18 14:02:24 +0200
committerJohann-S <[email protected]>2017-05-14 11:41:19 +0200
commitd5fabf8de50710c5a09ecd91f4b9e961e67d7937 (patch)
tree584c682e4f30241c2b767a7633d99206961337ef /js/src
parentc4b4d534a4e935db72a37b54f0f41f4dba4c83de (diff)
downloadbootstrap-d5fabf8de50710c5a09ecd91f4b9e961e67d7937.tar.xz
bootstrap-d5fabf8de50710c5a09ecd91f4b9e961e67d7937.zip
Remove totaly Tether from documentation + dependencies
Diffstat (limited to 'js/src')
-rw-r--r--js/src/dropdown.js6
-rw-r--r--js/src/tooltip.js4
2 files changed, 5 insertions, 5 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index 33171cf20..d678a3a02 100644
--- a/js/src/dropdown.js
+++ b/js/src/dropdown.js
@@ -17,7 +17,7 @@ const Dropdown = (($) => {
* Popper - https://popper.js.org
*/
if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap dropdown require Popper (https://popper.js.org)')
+ throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)')
}
/**
@@ -75,8 +75,8 @@ const Dropdown = (($) => {
}
const DefaultType = {
- placement : 'string',
- offset : 'number'
+ placement : 'string',
+ offset : '(number|string)'
}
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 9995cede7..2c34ac5d7 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -17,7 +17,7 @@ const Tooltip = (($) => {
* Popper - https://popper.js.org
*/
if (typeof Popper === 'undefined') {
- throw new Error('Bootstrap tooltips require Popper (https://popper.js.org)')
+ throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)')
}
@@ -60,7 +60,7 @@ const Tooltip = (($) => {
html : 'boolean',
selector : '(string|boolean)',
placement : '(string|function)',
- offset : 'number',
+ offset : '(number|string)',
container : '(string|element|boolean)'
}