public static boolean isLegacyJavaScript ( ) { if ( javascriptMode == - 1 ) { setLegacyJavaScriptMode ( ) ; } assert ( javascriptMode != - 1 ) ; return ( javascriptMode == IdJavascript . INT_LEGACY || javascriptMode == IdJavascript . INT_LEGACY_ONLY ) ; }
Return true if the legacy JavaScript support should be written to the output stream .