Matheus Azzi
dab6a41e04
Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keys
...
Fixes 2 bugs:
1. All keydowns were being prevented. Because of that the user wasn't able to navigate in the whole page using ARROW_UP/ARROW_DOWN.
2. Even when is an input or textarea the keydowns were being prevented. Because of that the user wasn't able to type any text on these elements.
2016-12-23 17:55:40 +11:00
Mark Otto
ce31f54c36
Merge pull request #19058 from Johann-S/carouselInput
...
Carousel - Do not prevent on keydown for input and textarea
2016-11-26 01:14:55 -08:00
Bardi Harborow
c2616fb74e
Make JS compliant with the new ESLint rules.
2016-11-24 11:59:55 +11:00
Johann-S
14ec4fdfc1
Carousel - Do not prevent on keydown for input and textarea
2016-02-01 00:06:07 +01:00
Johann-S
21a65f181e
Add throw error for undefined method on plugins
2015-10-02 10:01:24 +02:00
fat
6b2b0ed32f
al tests passing, dist rebuilt, w/typechecker
2015-05-13 14:52:46 -07:00
fat
eaab1def7a
add simple type checker implementation
2015-05-13 14:46:50 -07:00
fat
1b183e2ff7
carousel -> es6
2015-05-07 22:26:40 -07:00
fat
d1fbe200f4
remove closureness from plugins
2015-05-06 13:34:14 -07:00
fat
834220ea20
bootstrap onto closure
2015-02-11 11:29:43 -08:00
Chris Rebert
9238337cbb
Merge branch 'master' into v4
2015-01-21 13:00:12 -08:00
Chris Rebert
b56d97f210
update JS unit tests to future-proof QUnit 1.16.0 API
...
[skip validator]
2015-01-20 19:57:51 -08:00
Chris Rebert
c7ef5810e1
rename .item => .carousel-item
2014-12-17 18:44:55 -08:00
Chris Rebert
8008fe707e
add unit tests for Carousel's 'wrap' option
2014-11-15 22:37:55 -08:00
Chris Rebert
469dc3ab1f
Have Carousel ignore keyboard events from <input>s or <textarea>s; fixes #14991
2014-11-04 16:23:44 -08:00
Heinrich Fenkart
038a63b0eb
Add keyboard
option to carousel
...
Also adds unit tests for keyboard events.
Fixes #14468 .
2014-10-03 05:16:31 +02:00
Heinrich Fenkart
c37c1a6743
Only enable pause: hover
for non-touch browsers
...
Fixes #11967 .
2014-09-23 23:34:58 +02:00
Chris Rebert
cbba8e53df
Fix #13818 by using more robust "find next carousel item" logic
...
Also adds another test for #9461 : carousel next/prev should ignore non-items
2014-07-31 11:36:24 -07:00
Heinrich Fenkart
58eb8b2ae3
Move to leading pluses
2014-07-06 11:56:12 +02:00
Heinrich Fenkart
6a523bf99d
Clean carousel unit tests up
2014-07-06 09:24:22 +02:00
XhmikosR
7b0acf14d8
Comply to the new style.
2014-06-06 01:23:07 +03:00
Chris Rebert
d9edf28c5f
make new Carousel tests compatible with noConflict mode
2014-05-01 13:37:44 -07:00
Mark Otto
f20f66604b
Merge pull request #11966 from colllin/noconflict
...
Fix #11464 - JS noConflict() mode not working in 3.0.x
2014-04-30 17:43:43 -07:00
Collin Donahue-Oponski
a9f2b6ce0f
#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-21 23:03:33 -06:00
Chris Rebert
f66a747615
add unit tests for Carousel slid events
2014-04-21 13:14:53 -07:00
Chris Rebert
9c4afc5772
spelling fixes in Carousel unit tests
2014-04-21 13:08:42 -07:00
fat
4a2d337bf5
fixes #9461 - Make carousel ignore non-items in carousel-inner
2014-03-24 19:23:39 -07:00
Zlatan Vasović
a06e15dd36
Remove semicolons from JS tests
2014-02-17 20:56:46 +01:00
XhmikosR
895b0006b9
Re-indent test files.
2014-02-14 11:02:03 +02:00
fat
fe7fffe034
Merge branch 'slide-event-reset' of git://github.com/Rowno/bootstrap into Rowno-slide-event-reset
...
Conflicts:
js/tests/unit/carousel.js
2013-12-24 12:50:55 -08:00
XhmikosR
eca8ff3803
Use single quotes consistently.
2013-12-08 12:44:14 +02:00
Roland Warmerdam
ed1bd2b150
carousel: correctly reset when the slide event is prevented
2013-08-31 18:03:09 +12:00
Jacob Thornton
faa00629c4
add additional carousel test
2013-07-23 18:56:00 -07:00
fat
140ef2320b
change namespace back to dot notation and someother js shizzle
2013-05-16 20:19:51 -07:00
fat
a72d0d6e3a
fix tests
2013-05-16 17:44:50 -07:00
fat
14651035de
a bunch javascript junk
2013-05-16 11:06:30 -07:00