1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-09 15:16:51 +02:00

Remove totaly Tether from documentation + dependencies

This commit is contained in:
Johann-S
2017-04-18 14:02:24 +02:00
parent c4b4d534a4
commit d5fabf8de5
28 changed files with 92 additions and 58 deletions

View File

@@ -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)'
}

View File

@@ -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)'
}