Exemplo n.º 1
0
 public void ProcessRequest(HttpContext context)
 {
     context.Response.Write(ThemedLessEngine.CompileLess(context.Request.Url.LocalPath, null, context.Request.QueryString["theme"]).Output);
     context.Response.ContentType = "text/css";
 }
 public CompileResult Compile(string source, CompileContext context)
 {
     return(ThemedLessEngine.CompileLess(context.SourceFilePath, source, _theme));
 }