diff options
| author | Michael J. Ryan <[email protected]> | 2016-03-14 13:18:08 -0700 |
|---|---|---|
| committer | Michael J. Ryan <[email protected]> | 2016-03-14 13:18:08 -0700 |
| commit | 1a23279237b5360dab15d91aac85cbf8306e560a (patch) | |
| tree | 7883c67a19142d8cdec556a59491c82524154808 /docs/_includes/header.html | |
| parent | 5f959f119242565460ae07d0eaff8ed8274c22f1 (diff) | |
| download | bootstrap-1a23279237b5360dab15d91aac85cbf8306e560a.tar.xz bootstrap-1a23279237b5360dab15d91aac85cbf8306e560a.zip | |
Update tooltip.js
Don't reference `Tether` via attachment to `window`, with the update one can import bootstrap providing the dependencies in webpack with:
```
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Tether: 'tether',
});
```
Then inside one's own bootstrap/globals, `import 'bootstrap';` will simply work, and $/jQuery can be used from there.
I had wanted to do this, but also expose jQuery, Tether, etc when in development build in my code, but if I provide `window.Tether`, I can't then expose it to the outside...
Diffstat (limited to 'docs/_includes/header.html')
0 files changed, 0 insertions, 0 deletions
