Changeset 2791
- Timestamp:
- 08/20/07 07:08:01 (1 year ago)
- Location:
- trunk/jquery/src
- Files:
-
- 2 modified
-
event/event.js (modified) (1 diff)
-
jquery/jquery.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/event/event.js
r2785 r2791 162 162 event = jQuery.event.fix( event || window.event || {} ); 163 163 164 var c = this.$events && this.$events[event.type], args = [].slice.call( arguments, 1 );164 var c = this.$events && this.$events[event.type], args = Array.prototype.slice.call( arguments, 1 ); 165 165 args.unshift( event ); 166 166 -
trunk/jquery/src/jquery/jquery.js
r2790 r2791 302 302 setArray: function( a ) { 303 303 this.length = 0; 304 [].push.apply( this, a );304 Array.prototype.push.apply( this, a ); 305 305 return this; 306 306 },
