Sha256: c5a568ff4acc4e743f47039813cc332f56bfab7dccb210143374d0a73946fcbf
Contents?: true
Size: 378 Bytes
Versions: 69
Compression:
Stored size: 378 Bytes
Contents
define(['../lang/toString'], function(toString) { /** * Unescape unicode char sequences */ function unescapeUnicode(str){ str = toString(str); return str.replace(/\\u[0-9a-f]{4}/g, function(ch){ var code = parseInt(ch.slice(2), 16); return String.fromCharCode(code); }); } return unescapeUnicode; });
Version data entries
69 entries across 69 versions & 2 rubygems