opts.data cannot be a string
Closed this issue · 0 comments
ArtskydJ commented
There is a discrepancy between the docs and the code.
The docs say that opts.data
can be a string
.
However, in the browser, using browserify and ractive@0.6.1, I get the following error:
Uncaught TypeError: data option must be an object or a function, "blah blah" is not valid
I don't know which one is out-of-date, or if there's an issue on my part.