setJavaScriptCompressor() public method

public setJavaScriptCompressor ( ICompressor javaScriptCompressor ) : void
javaScriptCompressor ICompressor
return void
        private HtmlCompressor createCompressorClone()
        {
            var clone = new HtmlCompressor();
            clone.setJavaScriptCompressor(javaScriptCompressor);
            clone.setCssCompressor(cssCompressor);
            clone.setRemoveComments(_removeComments);
            clone.setRemoveMultiSpaces(_removeMultiSpaces);
            clone.setRemoveIntertagSpaces(_removeIntertagSpaces);
            clone.setRemoveQuotes(_removeQuotes);
            clone.setCompressJavaScript(_compressJavaScript);
            clone.setCompressCss(_compressCss);
            clone.setSimpleDoctype(_simpleDoctype);
            clone.setRemoveScriptAttributes(_removeScriptAttributes);
            clone.setRemoveStyleAttributes(_removeStyleAttributes);
            clone.setRemoveLinkAttributes(_removeLinkAttributes);
            clone.setRemoveFormAttributes(_removeFormAttributes);
            clone.setRemoveInputAttributes(_removeInputAttributes);
            clone.setSimpleBooleanAttributes(_simpleBooleanAttributes);
            clone.setRemoveJavaScriptProtocol(_removeJavaScriptProtocol);
            clone.setRemoveHttpProtocol(_removeHttpProtocol);
            clone.setRemoveHttpsProtocol(_removeHttpsProtocol);
            clone.setPreservePatterns(preservePatterns);
            //clone.setYuiJsNoMunge(yuiJsNoMunge);
            //clone.setYuiJsPreserveAllSemiColons(yuiJsPreserveAllSemiColons);
            //clone.setYuiJsDisableOptimizations(yuiJsDisableOptimizations);
            //clone.setYuiJsLineBreak(yuiJsLineBreak);
            //clone.setYuiCssLineBreak(yuiCssLineBreak);
            //clone.setYuiErrorReporter(yuiErrorReporter);

            return clone;
        }