Hacker GitHub

← All repos

sindresorhus/multiline

View on GitHub ↗ ★ 1,401 JavaScript archived

Multiline strings in JavaScript

9 mentions on Hacker News by 6 people: 4 stories, 5 comments · first 2014-03-05 · latest 2016-06-21

Mentions per year 9 mentions · busiest year 2014 (8)
20082026
  1. …why include comments? Is it to support stuff like multi-line strings as comments hack[1]? [1]: https://github.com/sindresorhus/multiline
    comment by egeozcan · 2016-06-21 · in The Monaco Code Editor
  2. There's a section on minification here: https://github.com/sindresorhus/multiline#minification
    comment by criswell · 2014-07-12 · in Multiline strings in JavaScript
  3. …comments: - Latest Chrome - Firefox >=17 - Safari >=4 - Opera >=9 - Internet Explorer >=6 From: https://github.com/sindresorhus/multiline#compatibility
    comment by mofle · 2014-07-12 · in Multiline strings in JavaScript
  4. You can use the `/*@preserve` directive. See: https://github.com/sindresorhus/multiline#minification
    comment by mofle · 2014-07-12 · in Multiline strings in JavaScript
  5. …intended for use in Node.js, but I've documented how to use it with a minifier for the front-end: https://github.com/sindresorhus/multiline#minification
    comment by mofle · 2014-07-12 · in Multiline strings in JavaScript