Closed gareth-robinson closed 7 years ago
The README.md mentions two constructor patterns
var context = LD( { ... etc. } ); var doc = context( data );
or
var doc = LD( data, { ... context ... } );
only the latter actually works. The former gives a 'Cannot convert undefined or null to object' error
yup thats a bug
See https://github.com/goofballLogic/ld-query/pull/8
Closed by #8
The README.md mentions two constructor patterns
or
only the latter actually works. The former gives a 'Cannot convert undefined or null to object' error