Johann-S
9a0bba9afa
Object spread : less jQuery more ES6 ( #24665 )
2017-11-13 11:25:36 +01:00
Johann-S
62fbb23ee6
Change Rollup config to wrap our dist files with jQuery instead of $
2017-10-24 12:39:25 +02:00
Johann-S
1487c3a994
Add Util.jQuery
which will detect jQuery instead of relying on global $
( #24513 )
2017-10-23 10:35:27 +03:00
Mark Otto
dbf5405cfd
fix version number
2017-10-19 12:23:29 -07:00
Mark Otto
cf00548f4e
new version number
2017-10-19 12:23:29 -07:00
Johann-S
b29b1e1558
Use imported jQuery object
2017-10-04 09:55:32 +02:00
Troy Morehouse
6c70c70f63
fix(scrollspy): Spying on nested navs fails to activate for .nav-link's inside nav-item's ( #23967 )
...
* fix(scrollspy): Handle nested navs when nav-link inside nav-item
* [scrolspy] Find only child .nav-link's inside .nav-item
* [scrollspyt] Add tests for nested navs with nav-link inside nav-item
* fix troy-o's in test
2017-09-17 09:30:37 +02:00
Johann-S
9936bf5944
Create a bundled release of Bootstrap with Popper.js inside
2017-08-31 18:43:04 +02:00
XhmikosR
ef8c77d8dc
Tweak ESLint rules.
2017-08-23 00:05:38 +03:00
Mark Otto
35f80bb12e
bump to beta
2017-08-10 20:56:35 -07:00
Pierre Vanduynslager
91b62941af
Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...)
2017-04-02 11:21:04 +02:00
Pierre Vanduynslager
275821bbb0
HTMLElement.offset* by getBoundingClientRect() ( #21788 )
...
* Replace element.offet* by getBoundingClientRect()
* Use variable to store BoundingClientRect
* Fix cc issue...
2017-03-18 18:24:54 -07:00
Mark Otto
045888fa38
version bump
2017-01-06 08:38:04 -08:00
Pierre-Denis Vanduynslager
d1b742f228
Use pageYOffset instead of scrollY
2017-01-04 11:42:08 -08:00
mr-july
1d6cdb65b3
scrollspy: fix wrong activation of all nested links ( #20304 )
...
* fix wrong activation of all nested links;
just first level item should be activated
* use template instead of string concatenation
2016-12-22 22:00:56 -08:00
Rob Ruana
5eddb0b0fd
Closes #21055 : Prevents ScrollSpy from clearing active item when Safari rubberbands ( #21056 )
...
When the rubberband effect causes Safari to scroll past the top of the
page, the value of scrollTop becomes negative. If the offset of the first
ScrollSpy target is 0 - essentially if the target is at the top of the
page - then ScrollSpy should not clear the active item. Conceptually, the
first item should remain active when rubberbanding past the top of the
page.
This commit fixes issue #21055 by verifying the first scrollspy target is
not at the top of the page before clearing the active nav-item.
2016-11-27 16:20:33 -08:00
matus
39d7861f34
Scrollspy selecting the last element when at the bottom of the page ( fixes #17739 )
2016-11-25 17:38:42 -08:00
Bardi Harborow
c2616fb74e
Make JS compliant with the new ESLint rules.
2016-11-24 11:59:55 +11:00
Bardi Harborow
0974267b8c
Move from $.proxy to es6 arrow functions. ( #21049 )
2016-10-31 20:32:36 -07:00
Mark Otto
8ff7edaab4
version bump to alpha 5
2016-10-19 08:27:41 -07:00
Mark Otto
5495a4b3d3
versions
2016-09-05 12:41:44 -07:00
Mark Otto
24e992a6ff
bump versions
2016-07-27 09:31:24 -07:00
Chris Rebert
c4add0c2f3
Comply with consistent-return ESLint rule
2016-05-31 00:45:32 -07:00
Chris Rebert
f2d77b674c
scrollspy.js: Avoid gratuitous non-ASCII for consistency+compatibility
...
Fixes #19028
[skip sauce]
[skip validator]
2016-01-26 11:58:40 -08:00
Chris Rebert
31d4139a74
Update version numbers using npm script
...
Errata from:
* 8ce5da30260c1368ae97838fcf010375071a7243
* 5d3144e8fb5c7202991b7614d77dfc00903fcb2e
which missed a few numbers.
[skip sauce]
[skip validator]
2015-12-08 18:16:47 -08:00
Mark Otto
5d3144e8fb
manually bump versions because npm script wasn't working for me
2015-12-08 09:36:08 -08:00
Chris Rebert
75c39f9138
Fix version numbers is JS files; fixes #18435
...
[skip sauce]
[skip validator]
2015-12-05 02:19:46 -08:00
Johann-S
21a65f181e
Add throw error for undefined method on plugins
2015-10-02 10:01:24 +02:00
Jacob Thornton
4e45e2363c
Merge branch 'v4' of github.com:twbs/derpstrap into v4
2015-08-18 21:23:53 -07:00
Jacob Thornton
fd65b9f32e
some minor alert shit
2015-08-18 20:33:57 -07:00
Jacob Thornton
18ff57a183
js tests passing + eslint
2015-08-18 19:22:46 -07:00
fat
eaab1def7a
add simple type checker implementation
2015-05-13 14:46:50 -07:00
fat
b0d142334f
fix #15301
2015-05-13 13:43:56 -07:00
fat
da495ee24c
address https://github.com/twbs/bootstrap/pull/16135
2015-05-13 13:15:11 -07:00
fat
f8b2569ec8
implement global dispose method
2015-05-13 12:48:34 -07:00
fat
ab1578465a
grunt test-js, grunt dist-js now working
2015-05-12 16:52:54 -07:00
fat
a58febf71a
popover passing as well
2015-05-12 14:35:00 -07:00
fat
3452e8dc83
rewritten tooltip + tether integration and death to our positioner jank
2015-05-11 23:32:37 -07:00
fat
8eee78ca15
tab es6
2015-05-11 12:29:06 -07:00
fat
2d91494d96
scrollspy es6
2015-05-11 12:05:35 -07:00