16 lines
259 B
JavaScript
16 lines
259 B
JavaScript
|
// Generated by CoffeeScript 1.7.1
|
||
|
(function() {
|
||
|
var xml2js;
|
||
|
|
||
|
xml2js = require('../lib/xml2js');
|
||
|
|
||
|
exports.stripBOM = function(str) {
|
||
|
if (str[0] === '\uFEFF') {
|
||
|
return str.substring(1);
|
||
|
} else {
|
||
|
return str;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
}).call(this);
|