- Compatibility fix (openclipart): Ensure polyfill present; make separate non-modular build (still not integrated as API incomplete)

- Docs: Add compatibility fix to Contributing
This commit is contained in:
Brett Zamir
2018-09-26 16:06:57 +08:00
parent ab5aec978e
commit ae7d0d1331
9 changed files with 2434 additions and 4 deletions

View File

@@ -83,6 +83,8 @@ async function processResults (url) {
// Todo: Pass to our API
}
}}, [
// If we wanted interactive versions despite security risk:
// ['object', {data: svgURL, type: 'image/svg+xml'}]
['img', {src: svgURL, style: `width: ${imgHW}; height: ${imgHW};`}]
]],
['b', [title]],