v21’s avatarv21’s Twitter Archive—№ 68,040

  1. …in reply to @lorenschmidt
    @lorenschmidt the big thing, once you fully commit to it, is having the replace file function return a promise (because presumably it's doing aync-y stuff internally). and you don't need to declare the promise variable, you can just chain it.
    1. …in reply to @v21
      @lorenschmidt oh, wait, it's returning a DOM element, and triggering off the onload, never mind