lib/emmet.js
function(profiles) {
			profiles = utils.parseJSON(profiles);
			var snippets = {};
			Object.keys(profiles).forEach(function(syntax) {
				var options = profiles[syntax];
				if (!(syntax in snippets)) {
					snippets[syntax] = {};
				}
				snippets[syntax].profile = normalizeProfile(options);
			});

			this.loadSnippets(snippets);
		}
function(profiles) {
			profiles = utils.parseJSON(profiles);
			var snippets = {};
			Object.keys(profiles).forEach(function(syntax) {
				var options = profiles[syntax];
				if (!(syntax in snippets)) {
					snippets[syntax] = {};
				}
				snippets[syntax].profile = normalizeProfile(options);
			});

			this.loadSnippets(snippets);
		}
function ( profiles ) { profiles = utils . parseJSON ( profiles ) ; var snippets = { } ; Object . keys ( profiles ) . forEach ( function ( syntax ) { var options = profiles [ syntax ] ; if ( ! ( syntax in snippets ) ) { snippets [ syntax ] = { } ; } snippets [ syntax ] . profile = normalizeProfile ( options ) ; } ) ; this . loadSnippets ( snippets ) ; }
Load syntax-specific output profiles. These are essentially
an extension to syntax snippets
@param {Object} profiles Dictionary of profiles
Load syntax - specific output profiles . These are essentially an extension to syntax snippets