mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
update jquery/ui used for testing to something more modern
This commit is contained in:
parent
06a7fce1df
commit
4021309a42
3 changed files with 25 additions and 9842 deletions
804
lib/capybara/spec/public/jquery-ui.js
vendored
804
lib/capybara/spec/public/jquery-ui.js
vendored
File diff suppressed because one or more lines are too long
9049
lib/capybara/spec/public/jquery.js
vendored
9049
lib/capybara/spec/public/jquery.js
vendored
File diff suppressed because one or more lines are too long
|
@ -60,12 +60,14 @@ $(function() {
|
||||||
$('title').text('changed title')
|
$('title').text('changed title')
|
||||||
}, 250)
|
}, 250)
|
||||||
});
|
});
|
||||||
$('#click-test').dblclick(function() {
|
$('#click-test').on({
|
||||||
$(this).after('<a id="has-been-double-clicked" href="#">Has been double clicked</a>');
|
dblclick: function() {
|
||||||
});
|
$(this).after('<a id="has-been-double-clicked" href="#">Has been double clicked</a>');
|
||||||
$('#click-test').bind('contextmenu', function(e) {
|
},
|
||||||
e.preventDefault();
|
contextmenu: function(e) {
|
||||||
$(this).after('<a id="has-been-right-clicked" href="#">Has been right clicked</a>');
|
e.preventDefault();
|
||||||
|
$(this).after('<a id="has-been-right-clicked" href="#">Has been right clicked</a>');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
$('#open-alert').click(function() {
|
$('#open-alert').click(function() {
|
||||||
alert('Alert opened');
|
alert('Alert opened');
|
||||||
|
|
Loading…
Reference in a new issue