Skip to content
Browse files

Newfags don't know how to heredoc (inb4 haters gone hate)

  • Loading branch information...
1 parent d4ea34a commit 73aee6665c29513e775339be487b9e47517f0a38 @danbeam danbeam committed
Showing with 25 additions and 25 deletions.
  1. +25 −25 lib/cornify.js
View
50 lib/cornify.js
@@ -1,27 +1,27 @@
exports.addCorn = function () {
- return "\n\n" +
- " \\ \n" +
- " \\ \n" +
- " \\\\ \n" +
- " \\\\ \n" +
- " >\\/7 \n" +
- " _.-(6' \\ \n" +
- " (=___._/` \\ \n" +
- " ) \\ | \n" +
- " / / | \n" +
- " / > / \n" +
- " j < _\\ \n" +
- " _.-' : ``. \n" +
- " \\ r=._\\ `. \n" +
- " <`\\\\_ \\ .`-. \n" +
- " \\ r-7 `-. ._ ' . `\\ \n" +
- " \\`, `-.`7 7) ) \n" +
- " \\/ \\| \\' / `-._\n" +
- " || .'\n" +
- " \\\\ (\n" +
- " >\\ >\n" +
- " ,.-' >.'\n" +
- " <.'_.''\n" +
- " <'\n" +
- "";
+ return(function () {/*
+ \\
+ \\
+ \\\\
+ \\\\
+ >\\/7
+ _.-(6' \\
+ (=___._/` \\
+ ) \\ |
+ / / |
+ / > /
+ j < _\\
+ _.-' : ``.
+ \\ r=._\\ `.
+ <`\\\\_ \\ .`-.
+ \\ r-7 `-. ._ ' . `\\
+ \\`, `-.`7 7) )
+ \\/ \\| \\'/
+ || .'
+ \\\\ (
+ >\\ >
+ ,.-' >.'
+ <.'_.''
+ <'
+ */}.toString().split("\n").slice(1,-1).join("\n"));
};

1 comment on commit 73aee66

@mathiasbynens

  ∆
∆  ∆

Please sign in to comment.
Something went wrong with that request. Please try again.