1
0
Fork 0
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:
Thomas Walpole 2015-11-20 13:42:56 -08:00
parent 06a7fce1df
commit 4021309a42
3 changed files with 25 additions and 9842 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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');