daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var addBRs = (inVal) => {
  2.   return _.dropRight(
  3.           _.flatten(
  4.             _.map( _.split(inVal, "\n"),
  5.                    e => [e, '<br/>'])
  6.           ));    
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top