lib/assets/profile.js
function(name, options) {
			if (arguments.length == 2)
				return createProfile(name, options);
			else
				// create profile object only
				return new OutputProfile(utils.defaults(name || {}, defaultProfile));
		}
function(name, options) {
			if (arguments.length == 2)
				return createProfile(name, options);
			else
				// create profile object only
				return new OutputProfile(utils.defaults(name || {}, defaultProfile));
		}
function ( name , options ) { if ( arguments . length == 2 ) return createProfile ( name , options ) ; else // create profile object only return new OutputProfile ( utils . defaults ( name || { } , defaultProfile ) ) ; }
Creates new output profile and adds it into internal dictionary
@param {String} name Profile name
@param {Object} options Profile options
@memberOf emmet.profile
@returns {Object} New profile
Creates new output profile and adds it into internal dictionary