protected function getExports()
	{
		if (empty($this->exports))
		{
			return '';
		}

		$exports = [];
		foreach ($this->exports as $export)
		{
			$exports[] = "'" . $export . "':" . $export;
		}
		sort($exports);

		return "window['s9e']['TextFormatter'] = {" . implode(',', $exports) . '}';
	}
protected function getExports()
	{
		if (empty($this->exports))
		{
			return '';
		}

		$exports = [];
		foreach ($this->exports as $export)
		{
			$exports[] = "'" . $export . "':" . $export;
		}
		sort($exports);

		return "window['s9e']['TextFormatter'] = {" . implode(',', $exports) . '}';
	}
protected function getExports ( ) { if ( empty ( $ this -> exports ) ) { return '' ; } $ exports = [ ] ; foreach ( $ this -> exports as $ export ) { $ exports [ ] = "'" . $ export . "':" . $ export ; } sort ( $ exports ) ; return "window['s9e']['TextFormatter'] = {" . implode ( ',' , $ exports ) . '}' ; }
Generate and return the public API

@return string JavaScript Code
Generate and return the public API