Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pqina/filepond
/ createObject
Function
createObject
src/js/utils/createObject.js:4–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
import
{ forin } from
'./forin'
;
3
4
export
const
createObject = definition => {
5
const
obj = {};
6
forin(definition, property => {
7
defineProperty(obj, property, definition[property]);
8
});
9
return
obj;
10
};
Callers
6
createApp
Function · 0.90
createOptions
Function · 0.90
createItem
Function · 0.90
createView
Function · 0.90
spring
Function · 0.90
tween
Function · 0.90
Calls
2
forin
Function · 0.90
defineProperty
Function · 0.90
Tested by
no test coverage detected