Side navigation
#5622 closed bug (worksforme)
Opened December 09, 2009 02:10PM UTC
Closed December 10, 2009 04:42AM UTC
this.toArray is not a function in get
Reported by: | kabomi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.4a1 |
Keywords: | get toArray | Cc: | |
Blocked by: | Blocking: |
Description
Value of this var
this [ length=0 fields=[6]]
fields ["id", "name", "sel", 3 more... 0=id 1=name 2=sel 3=desc 4=groups 5=lic]
length 0
Bug found! MessageError: this.toArray is not a function
jQuery JavaScript Library v1.4a1 development
172 get: function( num ) {
173 return num == null ?
175 Return a 'clean' array
176 this.toArray() :
178 Return just the object
179 ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] );
180 },
In stable version works good!
jQuery JavaScript Library v1.3.2 development
109 get: function( num ) {
110 return num === undefined ?
112 Return a 'clean' array
113 Array.prototype.slice.call( this ) :
115 Return just the object
116 this[ num ];
117 },
Attachments (0)
Change History (3)
Changed December 09, 2009 02:22PM UTC by comment:1
Changed December 09, 2009 02:28PM UTC by comment:2
Fount in Opera 10.10 & IE6 too
Changed December 10, 2009 04:42AM UTC by comment:3
resolution: | → worksforme |
---|---|
status: | new → closed |
I can't duplicate this - can you provide a test page?
Found in Firefox 3.5.5