MCPcopy Create free account
hub / github.com/zxlie/FeHelper / _createTag

Function _createTag

apps/regexp/index.js:1210–1217  ·  view source on GitHub ↗
(type, item)

Source from the content-addressed store, hash-verified

1208 };
1209
1210 var _createTag = function (type, item) {
1211 var tags = [];
1212 for (var i = 0, len = item.text.length; i < len; i++) {
1213 tags.push('<' + type + ' data-id="' + ID_PREFIX + item.index + '">'
1214 + item.text.charAt(i) + '</' + type + '>');
1215 }
1216 return tags.join('');
1217 };
1218
1219 var _blinkHighlight = function () {
1220 $('tr[id^=' + TR_ID_PREFIX + ']').click(function (e) {

Callers 1

_highlightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected