EmitJs() public static method

public static EmitJs ( string content ) : string
content string
return string
Example #1
0
        public static string EmitJs(string content)
        {
            var compiler = new JavaScriptCompiler();

            var output = new StringWriter();
            compiler.EmitJs(output, content);

            return output.ToString();
        }
Example #2
0
        public static string EmitJs(string content)
        {
            var compiler = new JavaScriptCompiler();

            var output = new StringWriter();

            compiler.EmitJs(output, content);

            return(output.ToString());
        }