components/prism-javadoclike.js
function addSupport(languages, docLanguage) {
		if (typeof languages === 'string') {
			languages = [languages];
		}

		languages.forEach(function (lang) {
			docCommentSupport(lang, function (pattern) {
				if (!pattern.inside) {
					pattern.inside = {};
				}
				pattern.inside.rest = docLanguage;
			});
		});
	}
function addSupport(languages, docLanguage) {
		if (typeof languages === 'string') {
			languages = [languages];
		}

		languages.forEach(function (lang) {
			docCommentSupport(lang, function (pattern) {
				if (!pattern.inside) {
					pattern.inside = {};
				}
				pattern.inside.rest = docLanguage;
			});
		});
	}
function addSupport ( languages , docLanguage ) { if ( typeof languages === 'string' ) { languages = [ languages ] ; } languages . forEach ( function ( lang ) { docCommentSupport ( lang , function ( pattern ) { if ( ! pattern . inside ) { pattern . inside = { } ; } pattern . inside . rest = docLanguage ; } ) ; } ) ; }
Adds doc-comment support to the given languages for the given documentation language.

@param {string[]|string} languages
@param {Object} docLanguage
Adds doc - comment support to the given languages for the given documentation language .