Open GoogleCodeExporter opened 9 years ago
/* Example 1 - String.Empty with no CLR */ [JsType(JsMode.Global, Filename = "res/Default.js")] public class DefaultClient : jQueryContextBase { static void DefaultClient_Load() { J(document.body).append("Ready<br/>"); } static void btnTest_click(HtmlDomEventArgs e) { J(document.body).append(string.Empty); } } /* Example 2 - referencing inaccessible class */ public class MyCsInternalClass { } [JsType(JsMode.Global, Filename = "res/Default.js")] public class DefaultClient : jQueryContextBase { static void DefaultClient_Load() { J(document.body).append("Ready<br/>"); } static MyCsInternalClass btnTest_click(HtmlDomEventArgs e) { return new MyCsInternalClass(); } }
Original issue reported on code.google.com by giladkhen@gmail.com on 29 Jul 2012 at 7:10
giladkhen@gmail.com
Original issue reported on code.google.com by
giladkhen@gmail.com
on 29 Jul 2012 at 7:10