You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling utils.appendChild with a raw element throws an error.
consthtml=require('jsonml.js/lib/html');constutils=require('jsonml.js/lib/utils');constjml=['div']constrawEl=html.raw('foo');utils.appendChild(jml,rawEl);// TypeError: exports.isRaw is not a function
Indeed, exports.isRaw is not defined within utils.js. It is, however, defined within html.js. So, the fix should be fairly straightforward.
The text was updated successfully, but these errors were encountered:
Original comments: #5 (comment)
Calling
utils.appendChild
with a raw element throws an error.Indeed,
exports.isRaw
is not defined withinutils.js
. It is, however, defined withinhtml.js
. So, the fix should be fairly straightforward.The text was updated successfully, but these errors were encountered: