aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-21 00:04:13 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-21 08:06:22 -0400
commitb7278a3968d9ac6332958811317865a412a9f39b (patch)
tree6803243f93375406ab88836c319577a6546272a1 /tests
parent1f6ea8b78ac859bfecbdcdd092c2df3e2eec90ed (diff)
downloadjquery-ui-b7278a3968d9ac6332958811317865a412a9f39b.tar.gz
jquery-ui-b7278a3968d9ac6332958811317865a412a9f39b.zip
Tooltip: Style updates
Ref #14246 Ref gh-1588
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/tooltip/common-deprecated.js2
-rw-r--r--tests/unit/tooltip/common.js2
-rw-r--r--tests/unit/tooltip/methods.js2
-rw-r--r--tests/unit/tooltip/options.js2
-rw-r--r--tests/visual/tooltip/tooltip.html10
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/unit/tooltip/common-deprecated.js b/tests/unit/tooltip/common-deprecated.js
index 9e3c5ef59..75a688f0a 100644
--- a/tests/unit/tooltip/common-deprecated.js
+++ b/tests/unit/tooltip/common-deprecated.js
@@ -21,7 +21,7 @@ common.testWidget( "tooltip", {
tooltipClass: null,
track: false,
- // callbacks
+ // Callbacks
close: null,
create: null,
open: null
diff --git a/tests/unit/tooltip/common.js b/tests/unit/tooltip/common.js
index 77e3f02b8..15c9dfad8 100644
--- a/tests/unit/tooltip/common.js
+++ b/tests/unit/tooltip/common.js
@@ -20,7 +20,7 @@ common.testWidget( "tooltip", {
show: true,
track: false,
- // callbacks
+ // Callbacks
close: null,
create: null,
open: null
diff --git a/tests/unit/tooltip/methods.js b/tests/unit/tooltip/methods.js
index b5b6ca6e9..d4c56e1f3 100644
--- a/tests/unit/tooltip/methods.js
+++ b/tests/unit/tooltip/methods.js
@@ -13,7 +13,7 @@ test( "destroy", function( assert ) {
element.tooltip().tooltip( "destroy" );
});
- // make sure that open tooltips are removed on destroy
+ // Make sure that open tooltips are removed on destroy
assert.domEqual( "#tooltipped1", function() {
element
.tooltip()
diff --git a/tests/unit/tooltip/options.js b/tests/unit/tooltip/options.js
index 6aa576583..2833e68dd 100644
--- a/tests/unit/tooltip/options.js
+++ b/tests/unit/tooltip/options.js
@@ -161,7 +161,7 @@ test( "items", function() {
element.tooltip( "open", event );
deepEqual( $( "#" + $( "#fixture-span" ).data( "ui-tooltip-id" ) ).text(), "title-text" );
- // make sure default [title] doesn't get used
+ // Make sure default [title] doesn't get used
event.target = $( "#tooltipped1" )[ 0 ];
element.tooltip( "open", event );
deepEqual( $( "#tooltipped1" ).data( "ui-tooltip-id" ), undefined );
diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html
index c0ba7a11c..176af85d8 100644
--- a/tests/visual/tooltip/tooltip.html
+++ b/tests/visual/tooltip/tooltip.html
@@ -20,7 +20,7 @@
// default
$( "#context1, form, #childish, #nested-input" ).tooltip();
- // custom class, replaces ui-widget-content
+ // Custom class, replaces ui-widget-content
$( "#context2" ).tooltip({
classes: {
"ui-tooltip": "ui-corner-all ui-widget-header"
@@ -32,7 +32,7 @@
}
});
- // synchronous content
+ // Synchronous content
$( "#footnotes" ).tooltip({
items: "[href^='#']",
content: function() {
@@ -40,7 +40,7 @@
}
});
- // asynchronous content
+ // Asynchronous content
$( "#async" ).tooltip({
content: function( response ) {
setTimeout(function() {
@@ -50,7 +50,7 @@
}
});
- // asynchronous content with caching
+ // Asynchronous content with caching
var content;
$( "#async2" ).tooltip({
content: function( response ) {
@@ -65,7 +65,7 @@
}
});
- // custom position
+ // Custom position
$( "#right2" ).tooltip({
classes: {
"ui-tooltip": "ui-corner-all ui-state-highlight"