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
20082026
-
…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 -
There's a section on minification here: https://github.com/sindresorhus/multiline#minification
comment by criswell · 2014-07-12 · in Multiline strings in JavaScript -
…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 -
You can use the `/*@preserve` directive. See: https://github.com/sindresorhus/multiline#minification
comment by mofle · 2014-07-12 · in Multiline strings in JavaScript -
…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 -
▲ 98
Multiline strings in JavaScriptstory by mofle · 2014-07-12 · 68 comments
-
▲ 3
Multiline strings in JavaScriptstory by zatkin · 2014-06-28 · 1 comment
-
▲ 2
Multiline string in JavaScript, todaystory by msoad · 2014-03-26 · 0 comments
-
▲ 4
Multiline Strings in JavaScript through toString'ing functionsstory by phase_9 · 2014-03-05 · 0 comments