Commit 3bb6b9ec authored by project's avatar project

--no commit message

--no commit message
parent 21b60db9
module.exports.create = function(data) module.exports.create = function(obj)
{ {
var tpy = "object"; switch (typeof obj) {
case 'string':
return new BSData(obj,'string');
case 'number':
return new BSData(obj,'number');
}
return new BSData(data,tpy); return new BSData(data,tpy);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment