<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8749672.post8353590729862801378..comments</id><updated>2009-01-09T17:20:37.393+05:30</updated><title type='text'>Comments on C# and Everything .Net: Tip: ScriptSharp and $(ScriptPath)</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.thinkfarahead.com/feeds/8353590729862801378/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8749672/8353590729862801378/comments/default'/><link rel='alternate' type='text/html' href='http://www.thinkfarahead.com/2008/07/tip-script-and-scriptpath_13.html'/><author><name>Vyas Bharghava</name><uri>http://www.blogger.com/profile/08929242069634369786</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8749672.post-3868740299931103027</id><published>2009-01-09T17:20:00.000+05:30</published><updated>2009-01-09T17:20:00.000+05:30</updated><title type='text'>I'm trying implement jquery for scriptsharp. jquer...</title><content type='html'>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:&lt;BR/&gt;&lt;BR/&gt;    [IgnoreNamespace]&lt;BR/&gt;    [Imported]&lt;BR/&gt;    public class jQuery&lt;BR/&gt;    {&lt;BR/&gt;        [PreserveCase]&lt;BR/&gt;        public static XMLHttpRequest get(string url); { return null; }&lt;BR/&gt;        [PreserveCase]&lt;BR/&gt;        public extern static XMLHttpRequest get(string url, Dictionary data) { return null; }&lt;BR/&gt;        [PreserveCase]&lt;BR/&gt;        public static XMLHttpRequest get(string url, Dictionary data, GetCallback callback) { return null; }&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;        [PreserveCase]&lt;BR/&gt;        public DOMElement[] get() { return null; }&lt;BR/&gt;        [PreserveCase]&lt;BR/&gt;        public DOMElement get(double index) { return null; }&lt;BR/&gt;&lt;BR/&gt;When I use one of the static functions, compiles ok, when I use one of the instance functions, I won't compile.&lt;BR/&gt;&lt;BR/&gt;I can't rename them, because that's the name that has to be generated for jQuery...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8749672/8353590729862801378/comments/default/3868740299931103027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8749672/8353590729862801378/comments/default/3868740299931103027'/><link rel='alternate' type='text/html' href='http://www.thinkfarahead.com/2008/07/tip-script-and-scriptpath_13.html?showComment=1231501800000#c3868740299931103027' title=''/><author><name>rekna</name><uri>http://www.blogger.com/profile/16465474699992023180</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.thinkfarahead.com/2008/07/tip-script-and-scriptpath_13.html' ref='tag:blogger.com,1999:blog-8749672.post-8353590729862801378' source='http://www.blogger.com/feeds/8749672/posts/default/8353590729862801378' type='text/html'/></entry></feed>