tag:blogger.com,1999:blog-8749672.post8353590729862801378..comments2023-10-07T11:45:56.096-04:00Comments on Azure, C# and Everything .Net: Tip: ScriptSharp and $(ScriptPath)Vyas Bharghavahttp://www.blogger.com/profile/08929242069634369786noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8749672.post-38687402999311030272009-01-09T06:50:00.000-05:002009-01-09T06:50:00.000-05:00I'm trying implement jquery for scriptsharp. jquer...I'm trying implement jquery for scriptsharp. jquery has two types of 'get' functions. One of them implement XMLHttpRequest behavior, the others works on a DOMElement collection. I have trouble finding right declarations for these functions:<BR/><BR/> [IgnoreNamespace]<BR/> [Imported]<BR/> public class jQuery<BR/> {<BR/> [PreserveCase]<BR/> public static XMLHttpRequest get(string url); { return null; }<BR/> [PreserveCase]<BR/> public extern static XMLHttpRequest get(string url, Dictionary data) { return null; }<BR/> [PreserveCase]<BR/> public static XMLHttpRequest get(string url, Dictionary data, GetCallback callback) { return null; }<BR/><BR/><BR/> [PreserveCase]<BR/> public DOMElement[] get() { return null; }<BR/> [PreserveCase]<BR/> public DOMElement get(double index) { return null; }<BR/><BR/>When I use one of the static functions, compiles ok, when I use one of the instance functions, I won't compile.<BR/><BR/>I can't rename them, because that's the name that has to be generated for jQuery...reknahttps://www.blogger.com/profile/16465474699992023180noreply@blogger.com