public void ProcessRequest(HttpContext context)
 {
     var localPath = context.Request.Url.LocalPath;
     if (string.IsNullOrEmpty(localPath)) return;
     var reader = new VirtualPathFileReader();
     var fileContents = reader.ReadFile(localPath);
     var writer = new CoffeeWriter();
     var output = writer.GetOutput(fileContents);
     context.Response.ContentType = "text/javascript";
     context.Response.Write(output);
 }
        public void ProcessRequest(HttpContext context)
        {
            var localPath = context.Request.Url.LocalPath;

            if (string.IsNullOrEmpty(localPath))
            {
                return;
            }
            var reader       = new VirtualPathFileReader();
            var fileContents = reader.ReadFile(localPath);
            var writer       = new CoffeeWriter();
            var output       = writer.GetOutput(fileContents);

            context.Response.ContentType = "text/javascript";
            context.Response.Write(output);
        }