public void TestOne() { var compiler = new V8Compiler(CoffeeScriptHttpHandler.GetCoffeeScript()); var tt = compiler.Compile(@"F:\dnikku\projects\wp\ms40\src\Web\MatterSpace.Web\mvc\app2\members\app_admin.coffee"); Assert.AreEqual(tt.Value, ""); }
public CScriptEngine(string coffeScript) { ExePath = @"c:\Windows\System32\cscript.exe"; CoffeeScript = coffeScript; InjectVersion = true; var exepath = CoffeeScriptHttpHandler.GetConfig("coffee-script.cscriptPath", null); if (exepath != null) { ExePath = exepath; } InjectVersion = CoffeeScriptHttpHandler.GetConfig("coffee-script.injectVersion", true); }