dist/yaml.legacy.js
function(array, inline, spaces)
	{
		if ( inline == null ) inline = 2;

		var yaml = new YamlDumper();
		if (spaces) {
		    yaml.numSpacesForIndentation = spaces;
		}

		return yaml.dump(array, inline);
	}
function(array, inline, spaces)
	{
		if ( inline == null ) inline = 2;

		var yaml = new YamlDumper();
		if (spaces) {
		    yaml.numSpacesForIndentation = spaces;
		}

		return yaml.dump(array, inline);
	}
function ( array , inline , spaces ) { if ( inline == null ) inline = 2 ; var yaml = new YamlDumper ( ) ; if ( spaces ) { yaml . numSpacesForIndentation = spaces ; } return yaml . dump ( array , inline ) ; }
Dumps a JS representation to a YAML string.

The dump method, when supplied with an array, will do its best
to convert the array into friendly YAML.

@param array	 array JS representation
@param integer inline The level where you switch to inline YAML

@return string A YAML string representing the original JS representation

@api
Dumps a JS representation to a YAML string .