MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / decodeUnicode

Function decodeUnicode

tests/acceptance/help-test.js:390–394  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

388}
389
390function decodeUnicode(str) {
391 return str.replace(/\\u([\d\w]{4})/gi, function (match, grp) {
392 return String.fromCharCode(parseInt(grp, 16));
393 });
394}

Callers 1

loadTextFixtureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…