diff options
Diffstat (limited to 'alarm/node_modules/html-entities/lib/surrogate-pairs.js')
-rw-r--r-- | alarm/node_modules/html-entities/lib/surrogate-pairs.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alarm/node_modules/html-entities/lib/surrogate-pairs.js b/alarm/node_modules/html-entities/lib/surrogate-pairs.js new file mode 100644 index 0000000..a9c4a14 --- /dev/null +++ b/alarm/node_modules/html-entities/lib/surrogate-pairs.js @@ -0,0 +1 @@ +"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.fromCodePoint=String.fromCodePoint||function(astralCodePoint){return String.fromCharCode(Math.floor((astralCodePoint-65536)/1024)+55296,(astralCodePoint-65536)%1024+56320)};exports.getCodePoint=String.prototype.codePointAt?function(input,position){return input.codePointAt(position)}:function(input,position){return(input.charCodeAt(position)-55296)*1024+input.charCodeAt(position+1)-56320+65536};exports.highSurrogateFrom=55296;exports.highSurrogateTo=56319;
\ No newline at end of file |