Created
August 17, 2010 17:48
-
-
Save trbngr/531086 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var context = new CrusherContext(); | |
var source = new FileSource(new FileInfo("your js file")); | |
IEngine engine = context.GetDefaultEngineFor(source); | |
ICrushResult result = engine.TransformSource(source); | |
//stream back result.Result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment