Skip to content

Commit 840b14c

Browse files
committed
Fix naming in F#
1 parent 624bdc4 commit 840b14c

File tree

1 file changed

+2
-2
lines changed
  • text-counter-f-sharp-application/text-counter-fable/src

1 file changed

+2
-2
lines changed

text-counter-f-sharp-application/text-counter-fable/src/App.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module App
22

33
open Browser.Dom
44
// Text content area
5-
let textcontent =
5+
let textContent =
66
document.getElementById ("textContent") :?> Browser.Types.HTMLTextAreaElement
77

88
// Update text counter button
@@ -15,7 +15,7 @@ let textOutput =
1515
// Update text counter output when button is clicked
1616
updateText.onclick <-
1717
fun _ ->
18-
let textString = textcontent.value
18+
let textString = textContent.value
1919
let characters = textString.Length //number of characters
2020
let words = textString.Split(' ').Length //number of words
2121
let lines = textString.Split('\n').Length //number of lines

0 commit comments

Comments
 (0)