Skip to content

Commit 6803933

Browse files
authored
Merge pull request #358 from junmin-Chang/patch-1
Fix spelling of 'chirs' to 'chris'
2 parents 052f39c + f2fd556 commit 6803933

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

site/js/tryhaskell.pages.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tryhaskell.pages.htmlEncode = function(text,shy){
1919
}
2020

2121
// The nemesis
22-
tryhaskell.nemesis = "chirs";
22+
tryhaskell.nemesis = "chris";
2323

2424
// All pages
2525
tryhaskell.pages.list =
@@ -137,14 +137,14 @@ tryhaskell.pages.list =
137137
},
138138
// Tuples
139139
{guide:function(result){
140-
if (!result) result = {value:"\"chirs\""};
140+
if (!result) result = {value:"\"chris\""};
141141
tryhaskell.nemesis = tryhaskell.pages.htmlEncode(tryhaskell.pages.unString(result.value));
142142
return '<h3>' +
143143
tryhaskell.pages.rmsg(["Tuples, because sometimes one value ain't enough!"]) +
144144
'</h3>' +
145145
"<p>Watch out for "+tryhaskell.nemesis+"! You should keep their credentials for the police.</p>" +
146146
"<p>My nemesis is 28 years of age: "+
147-
"<code>(28,\"chirs\")</code></p>"
147+
"<code>(28,\"chris\")</code></p>"
148148
},
149149
trigger:function(result){
150150
return result.expr.match(/sort/) &&
@@ -153,7 +153,7 @@ tryhaskell.pages.list =
153153
},
154154
// Functions on tuples
155155
{guide:function(result){
156-
if (!result) result = {value:"(28,\"chirs\")"};
156+
if (!result) result = {value:"(28,\"chris\")"};
157157
var age = result.value.match(/^\(([0-9]+)+/);
158158
var villain = tryhaskell.pages.htmlEncode(result.value.replace(/\\"/g,'"'));
159159
return '<h3>' +
@@ -220,7 +220,7 @@ tryhaskell.pages.list =
220220

221221
"<p>So if we wanted to get the age of our villain, we could do:</p>" +
222222

223-
"<code><span class='highlight'>let</span> villain <span class='highlight'>=</span> (28,\"chirs\") <span class='highlight'>in</span> fst villain</code>"
223+
"<code><span class='highlight'>let</span> villain <span class='highlight'>=</span> (28,\"chris\") <span class='highlight'>in</span> fst villain</code>"
224224

225225
},trigger:function(result){
226226
return result.expr.match(/^[ ]*let[ ]+x[ ]*=[ ]*[0-9]+[ ]*in[ ]*x[ ]*\*[ ]*x/) &&

0 commit comments

Comments
 (0)