A discussion about who to write some coding constructs in Scriptsharp
eg. one I've been looking for quite a while, was
$(document)
which can apparently be written as:
jqProxy.jQuery(typeof(Document))
Jquery proxy class definition:
[GlobalMethods]
[Imported]
[IgnoreNamespace]
public static class jqProxy
{
[PreserveCase]
public static jQuery jQuery(object obj)
{
return null;
}
}
a jQuery class implementation can be found on
JQuerySharp.codeplex.com
(it's not mine), but you'll need to have the above definition of the
static jQuery method on the proxy class with parameter object, to be
able to use typeof(Document) as parameter.