Versions
- Open: VersionChanges from v4 to v5+3-1export let dailyCat = async () => {
const url = cole.fetchCat();const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");};import { fetchCat } from "https://esm.town/v/cole/fetchCat";export let dailyCat = async () => {const url = fetchCat();const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");}; - Open: VersionChanges from v3 to v4+1-2
export dailyCat = async () => {const url = cole.fetchCat();const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");return;};export let dailyCat = async () => {const url = cole.fetchCat();const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");}; - Open: VersionChanges from v2 to v3+3-2
export dailyCat = cole.fetchCat().then((url) => {const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");return;});export dailyCat = async () => {const url = cole.fetchCat();const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");return;}; - Open: VersionChanges from v1 to v2+1-0export dailyCat = cole.fetchCat().then((url) => {const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");});export dailyCat = cole.fetchCat().then((url) => {const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");return;});
- Open: VersionChanges from v0 to v1+0-0⦚ 4 unchanged lines ⦚⦚ 4 unchanged lines ⦚
- Open: Version+4-0export dailyCat = cole.fetchCat().then((url) => {const html = `Here's a random cat: <img src="${url}">`;console.email({ html }, "random cat");});
Updated: October 23, 2023