0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/js
Michael J. Ryan 1a23279237 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...
2016-03-14 13:18:08 -07:00
..
dist Run grunt. 2016-02-19 13:14:47 +02:00
src Update tooltip.js 2016-03-14 13:18:08 -07:00
tests JS visual tests: Remove usages of defunct .page-header class 2016-02-27 18:01:12 -08:00
.eslintrc ESLint: enable no-bitwise rule 2015-12-24 18:53:41 -07:00
.jscsrc update grunt-jscs to 2.1.0 to use jscs 2.x 2015-10-19 08:17:13 -04:00