butternut icon indicating copy to clipboard operation
butternut copied to clipboard

Bug: charFrequency is not defined in some cases

Open loilo opened this issue 8 years ago • 1 comments

Trying to squash some cdnjs sources (e.g. angular-timer) with 0.4.6 introduced a new error.

It boils down to the freshly introduced program.charFrequency property not being initialized yet when the first calls to program.addWord() come in, throwing errors in that very method.

I'll attach a PR fixing this.

loilo avatar May 19 '17 07:05 loilo

code merged, issue can be closed

nifgraup avatar Jul 15 '17 17:07 nifgraup