UNPKG
brush_cli
Version:
latest (0.0.2)
0.0.2
0.0.1
A tool for creating and developing cmos PC Framework project.
brush_cli
/
node_modules
/
xml2js
/
lib
/
bom.js
17 lines
(13 loc)
•
276 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Generated by CoffeeScript 1.10.0
(
function
(
) {
"use strict"
;
var
xml2js; xml2js =
require
(
'../lib/xml2js'
);
exports
.
stripBOM
=
function
(
str
) {
if
(str[
0
] ===
'\uFEFF'
) {
return
str.
substring
(
1
); }
else
{
return
str; } }; }).
call
(
this
);