corrade-http-templates – Blame information for rev 62

Subversion Repositories:
Rev:
Rev Author Line No. Line
62 office 1 define( [
2 "qunit",
3 "jquery",
4 "ui/widgets/tooltip"
5 ], function( QUnit, $ ) {
6  
7 QUnit.module( "tooltip: (deprecated) options" );
8  
9 QUnit.test( "tooltipClass", function( assert ) {
10 assert.expect( 1 );
11 var element = $( "#tooltipped1" ).tooltip( {
12 tooltipClass: "custom"
13 } ).tooltip( "open" );
14 assert.hasClasses( $( "#" + element.data( "ui-tooltip-id" ) ), "custom" );
15 } );
16  
17 } );