diff options
author | 2017-05-04 07:48:42 -0400 | |
---|---|---|
committer | 2017-05-04 12:28:17 -0400 | |
commit | b54df0ddd0c6a0372327c5aa3668e5a6458fcd64 (patch) | |
tree | e69cfa9b314a801bd187cf0145d1d4306436229c /ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/method.js | |
parent | 39d1e62c84041831bfc52cca73b5ed5efaf57d27 (diff) |
[PORTAL-7] Rebase
This rebasing includes common libraries and common overlays projects
abstraction of components
Change-Id: I9a24a338665c7cd058978e8636bc412d9e2fdce8
Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/method.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/method.js | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/method.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/method.js deleted file mode 100644 index c2303eb8..00000000 --- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.linger/test/method.js +++ /dev/null @@ -1,43 +0,0 @@ -module("Linger Method"); - -$.each(['start','','end'],function( i, type ){ - - test('"linger'+ type +'"',function(){ - - expect( 11 ); - - // make sure the event handler gets bound to the element - var $elem = $('<div />'), - elem = $elem[0], - count = 0, - fn = function(){ - count += 1; - }, - opts = { - speed: 111, - delay: 222, - persist: 333 - }, - data; - - ok( $elem.linger( type, fn )[0] == elem, ".linger("+( type ? "'"+ type +"'," : "" )+" fn )" ); - ok( $.data( elem, $.event.special.linger.datakey ), "linger data exists" ); - ok( $.data( elem, "events" ), "event data exists" ); - ok( $.data( elem, "events" )[ 'linger'+type ][0], 'linger'+ type +" event handler added" ); - - ok( $elem.linger( type )[0] == elem, ".linger("+( type ? "'"+ type +"'" : "" )+")" ); - ok( count == 1, "handler was triggered"); - - $elem.unbind( type ); - - ok( $elem.linger( type, fn, opts )[0] == elem, ".linger("+( type ? "'"+ type +"'," : "" )+" fn, opts )" ); - ok( data = $.data( elem, $.event.special.linger.datakey ), "linger data exists" ); - - ok( data.speed == opts.speed, "'speed' option stored" ); - ok( data.delay == opts.delay, "'delay' option stored" ); - ok( data.persist == opts.persist, "'persist' option stored" ); - - $elem.remove(); - - }); -});
\ No newline at end of file |