Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
3bb6b9ec
Commit
3bb6b9ec
authored
Jan 09, 2017
by
project
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
21b60db9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
bsdata.js
lib/util/bsdata.js
+7
-2
No files found.
lib/util/bsdata.js
View file @
3bb6b9ec
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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment