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')
}, 250)
});
$('#click-test').dblclick(function() {
$(this).after('<a id="has-been-double-clicked" href="#">Has been double clicked</a>');
});
$('#click-test').bind('contextmenu', function(e) {
e.preventDefault();
$(this).after('<a id="has-been-right-clicked" href="#">Has been right clicked</a>');
$('#click-test').on({
dblclick: function() {
$(this).after('<a id="has-been-double-clicked" href="#">Has been double clicked</a>');
},
contextmenu: function(e) {
e.preventDefault();
$(this).after('<a id="has-been-right-clicked" href="#">Has been right clicked</a>');
}
});
$('#open-alert').click(function() {
alert('Alert opened');