fjgandrade / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

jQuery $(foo).map callback expects incorrect argument types #361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From the docs for .map:
Description: Pass each element in the current matched set through a function, 
producing a new jQuery object containing the return values.

callback

Type: Function( Integer index, Element domElement ) => Object 

A function object that will be invoked for each element in the current set.

In trunk, the callback expects

Type: Function ( HtmlElement a, HtmlElement b ) => Object

Original issue reported on code.google.com by yvan.rod...@gmail.com on 24 Jul 2014 at 2:54

GoogleCodeExporter commented 9 years ago
Have you checked on github? I believe that the updated sources there have this 
problem fixed:
https://github.com/SharpKit/SharpKit-SDK

Original comment by DanelK...@gmail.com on 24 Jul 2014 at 2:56

GoogleCodeExporter commented 9 years ago
I didn't even know it was on GitHub. :o

Original comment by yvan.rod...@gmail.com on 24 Jul 2014 at 4:49

GoogleCodeExporter commented 9 years ago
So let me fill you in: SharpKit is now fully open source, SDK and compiler are 
stored in separate repos in github.

Original comment by DanelK...@gmail.com on 25 Jul 2014 at 8:03

GoogleCodeExporter commented 9 years ago
I think, this isse is not up-to-date. Please re-open it, if this still occurs.

Original comment by sebastia...@gmail.com on 8 Oct 2014 at 5:42