UNPKG
create-lbgcli
Version:
latest (1.0.2)
1.0.2
前端脚手架模板
create-lbgcli
/
template-h5
/
node_modules
/
underscore
/
modules
/
chain.js
9 lines
(7 loc)
•
190 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
_
from
'./underscore.js'
;
// Start chaining a wrapped Underscore object.
export
default
function
chain
(
obj
) {
var
instance =
_
(obj); instance.
_chain
=
true
;
return
instance; }