src/helpers/shortlinker/singleton.js
function getShortlinker() {
	if ( globalScope.yoast.shortlinker === null ) {
		globalScope.yoast.shortlinker = new Shortlinker();
	}
	return globalScope.yoast.shortlinker;
}
function getShortlinker() {
	if ( globalScope.yoast.shortlinker === null ) {
		globalScope.yoast.shortlinker = new Shortlinker();
	}
	return globalScope.yoast.shortlinker;
}
function getShortlinker ( ) { if ( globalScope . yoast . shortlinker === null ) { globalScope . yoast . shortlinker = new Shortlinker ( ) ; } return globalScope . yoast . shortlinker ; }
Retrieves the Shortlinker instance.

@returns {Shortlinker} The Shortlinker.
Retrieves the Shortlinker instance .