using System;
using SharpKit.Html4;
using SharpKit.JavaScript;
using SharpKit.jQuery;
namespace SharpKitWebApp1
{
[JsType(JsMode.Prototype, Filename = "PWUtitilies.js")]
public class Timer : HtmlContext
{
public Timer()
{
}
public void Start()
{
document.write("Timer Started");
}
}
[JsType(JsMode.Global,Filename="res/test.js")]
public class Class1:jQueryContext
{
public static void main()
{
document.body.innerHTML = "<div>hello Sharpkit Javascript</div>";
J("body").append("<div>Hello SharpKit Jquery World</div>");
Timer newTImer = new Timer();
newTImer.Start();
}
}
}
Compiles successfully but doesn't work when running the javascript. Please
continue this project this is awesome!
Original issue reported on code.google.com by philweb....@gmail.com on 18 Apr 2011 at 2:26
Original issue reported on code.google.com by
philweb....@gmail.com
on 18 Apr 2011 at 2:26