vendor/emmet.js
function(syntax, name, minScore) {
			minScore = minScore || 0.3;
			
			var payload = this.getAllSnippets(syntax);
			var sc = require('string-score');
			
			name = normalizeName(name);
			var scores = _.map(payload, function(value, key) {
				return {
					key: key,
					score: sc.score(value.nk, name, 0.1)
				};
			});
			
			var result = _.last(_.sortBy(scores, 'score'));
			if (result && result.score >= minScore) {
				var k = result.key;
				return payload[k].parsedValue;
//				return parseItem(k, payload[k].value, payload[k].type);
			}
		}
function(syntax, name, minScore) {
			minScore = minScore || 0.3;
			
			var payload = this.getAllSnippets(syntax);
			var sc = require('string-score');
			
			name = normalizeName(name);
			var scores = _.map(payload, function(value, key) {
				return {
					key: key,
					score: sc.score(value.nk, name, 0.1)
				};
			});
			
			var result = _.last(_.sortBy(scores, 'score'));
			if (result && result.score >= minScore) {
				var k = result.key;
				return payload[k].parsedValue;
//				return parseItem(k, payload[k].value, payload[k].type);
			}
		}
function ( syntax , name , minScore ) { minScore = minScore || 0.3 ; var payload = this . getAllSnippets ( syntax ) ; var sc = require ( 'string-score' ) ; name = normalizeName ( name ) ; var scores = _ . map ( payload , function ( value , key ) { return { key : key , score : sc . score ( value . nk , name , 0.1 ) } ; } ) ; var result = _ . last ( _ . sortBy ( scores , 'score' ) ) ; if ( result && result . score >= minScore ) { var k = result . key ; return payload [ k ] . parsedValue ; //				return parseItem(k, payload[k].value, payload[k].type); } }
Performs fuzzy search of snippet definition
@param {String} syntax Top-level section name (syntax)
@param {String} name Snippet name
@returns
Performs fuzzy search of snippet definition