Ticket #2249: one.diff
| File one.diff, 454 bytes (added by flesler, 4 years ago) |
|---|
-
src/event.js
403 403 one: function( type, data, fn ) { 404 404 return this.each(function(){ 405 405 jQuery.event.add( this, type, function(event) { 406 jQuery(this).unbind(event );406 jQuery(this).unbind(event, arguments.callee); 407 407 return (fn || data).apply( this, arguments); 408 408 }, fn && data); 409 409 });
