Skip to content

James Padolsey
padolsey

Organizations

@twitter @yip @padolsey-archive @sonderverk
Jun 12, 2016
@padolsey

This is by design. To replace DOM with DOM, you can return a DOM node from the replace function. E.g. https://jsfiddle.net/z7Lkw758/

May 14, 2016
@padolsey

Hi Tobias. What environment are you trying to run it in? (What browser?)

May 11, 2016
Apr 13, 2016
Apr 13, 2016
Mar 10, 2016
padolsey deleted branch master at padolsey/echo
Mar 10, 2016
padolsey created branch gh-pages at padolsey/echo
Mar 10, 2016
padolsey created branch master at padolsey/echo
Mar 10, 2016
padolsey created repository padolsey/echo
Mar 10, 2016
Mar 2, 2016
@padolsey

Technically there's a newline character and four spaces between "test" and "Grumpy", and to match newlines you'll need \n (unfortunately in JS RegE…

Mar 1, 2016
@padolsey

You'll want to instruct findAndReplaceDOMText to avoid SCRIPT elements. But you'll also want to avoid a bunch of other non-prose-containing element…

Feb 23, 2016
Something went wrong with that request. Please try again.