hexo/node_modules/xml2js/lib/bom.js

13 lines
235 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
// Generated by CoffeeScript 1.12.7
(function() {
"use strict";
exports.stripBOM = function(str) {
if (str[0] === '\uFEFF') {
return str.substring(1);
} else {
return str;
}
};
}).call(this);