UNPKG
@plotly/regl
Version:
latest (2.1.2)
2.1.2
2.1.1
regl is a fast functional WebGL framework.
plotly.github.io/regl
plotly/regl
@plotly/regl
/
lib
/
util
/
extend.js
8 lines
(7 loc)
•
168 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
module
.
exports
=
function
(
base, opts
) {
var
keys =
Object
.
keys
(opts)
for
(
var
i =
0
; i < keys.
length
; ++i) { base[keys[i]] = opts[keys[i]] }
return
base }