aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 21:57:04 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:55 -0400
commitbe0a176b1f399e856654b2e71a1a9df28501a646 (patch)
treef9500a587b21cee75b23ec23d81b1e1d6a7ebb18 /tests/visual
parent183422bd9f9a1431e51b427c704c6bcd0583bea6 (diff)
downloadjquery-ui-be0a176b1f399e856654b2e71a1a9df28501a646.tar.gz
jquery-ui-be0a176b1f399e856654b2e71a1a9df28501a646.zip
Dialog: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/compound/dialog_widgets.html2
-rw-r--r--tests/visual/dialog/animated.html2
-rw-r--r--tests/visual/dialog/complex-dialogs.html8
-rw-r--r--tests/visual/dialog/form.html4
-rw-r--r--tests/visual/dialog/performance.html2
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/visual/compound/dialog_widgets.html b/tests/visual/compound/dialog_widgets.html
index fa3ffb4e4..2258231e9 100644
--- a/tests/visual/compound/dialog_widgets.html
+++ b/tests/visual/compound/dialog_widgets.html
@@ -31,7 +31,7 @@
$( "#autocomplete" ).autocomplete({
source: [ "c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl" ]
});
- $( "button" ).button().click(function() {
+ $( "button" ).button().on( "click", function() {
$( "#dialog2" ).dialog( "open" );
});
$( "#datepicker" ).datepicker();
diff --git a/tests/visual/dialog/animated.html b/tests/visual/dialog/animated.html
index 06c46fc86..2bb0b398b 100644
--- a/tests/visual/dialog/animated.html
+++ b/tests/visual/dialog/animated.html
@@ -31,7 +31,7 @@
modal: true
});
- $( "#opener" ).click(function() {
+ $( "#opener" ).on( "click", function() {
$( "#dialog" ).dialog( "open" );
});
});
diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html
index fdc00322e..9a6209be9 100644
--- a/tests/visual/dialog/complex-dialogs.html
+++ b/tests/visual/dialog/complex-dialogs.html
@@ -57,15 +57,15 @@
width: 600
});
- $( "#open-dialog" ).click(function() {
+ $( "#open-dialog" ).on( "click", function() {
dialog.dialog( "open" );
});
- $( "#open-datepicker" ).click(function() {
+ $( "#open-datepicker" ).on( "click", function() {
datepickerDialog.dialog( "open" );
});
- $( "#open-autocomplete" ).click(function() {
+ $( "#open-autocomplete" ).on( "click", function() {
autocompleteDialog.dialog( "open" );
});
@@ -81,7 +81,7 @@
]
});
- $( "#destroy-dialog" ).click(function() {
+ $( "#destroy-dialog" ).on( "click", function() {
dialog.dialog( "destroy" ).show();
$( this ).remove();
});
diff --git a/tests/visual/dialog/form.html b/tests/visual/dialog/form.html
index eab41cdbe..42d40f1f4 100644
--- a/tests/visual/dialog/form.html
+++ b/tests/visual/dialog/form.html
@@ -23,11 +23,11 @@
modal: true
});
- $( "#open-form" ).click(function() {
+ $( "#open-form" ).on( "click", function() {
$( "#form-dialog" ).dialog( "open" );
});
- $( "#open-prompt" ).click(function() {
+ $( "#open-prompt" ).on( "click", function() {
$( "#prompt-dialog" ).dialog( "open" );
});
});
diff --git a/tests/visual/dialog/performance.html b/tests/visual/dialog/performance.html
index 37ff93238..e01098ad1 100644
--- a/tests/visual/dialog/performance.html
+++ b/tests/visual/dialog/performance.html
@@ -26,7 +26,7 @@
});
$( "<li>Create: " + ($.now() - start) + "ms</li>" ).appendTo( "#log" );
- $( "#opener" ).click(function() {
+ $( "#opener" ).on( "click", function() {
start = $.now();
$( "#dialog" ).dialog( "open" );
$( "<li>Open: " + ($.now() - start) + "ms</li>" ).appendTo( "#log" );