swang / markovchain

generates a markov chain of words based on input files
50 stars 8 forks source link

Wordlist is broken #2

Closed kylecordes closed 10 years ago

kylecordes commented 10 years ago

This code:

  else if (startType === "function") {
    this.startFn = function(wordList) {
      return fnStr(wordList)
    }
  }

Contains the only reference to wordList. There is no wordList, so the function is always called without one, as far as I can tell.

kylecordes commented 10 years ago

Sorry, this is a wrong writeup, I don't understand the problem well enough to put in an issue yet.