block by tophtucker 593964bb8e6984b9f3af

Recirc fetching source

Full Screen

Originally conceived for What Is Code as a recirculation module to link to other pages. The idea is just to show source and rendered html in some animated manner. It doesn’t work cross-origin so I have some dummy html pages here, so they are fetching dummy source but linking to real source, but if it were same-origin it could just fetch the real url.

Uses Fetch API, thus Fetch polyfill, thus es6-promise polyfill.

Should really use d3.timer instead of setInterval incrementing character by character…