소스 검색

fix typo in iterator for cache object

Brian Gough 11 년 전
부모
커밋
a655041bdd
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/spelling/app/coffee/ASpell.coffee

+ 1 - 1
services/spelling/app/coffee/ASpell.coffee

@@ -35,7 +35,7 @@ class ASpellRunner
 
 			# update the cache after processing all words, to avoid cache
 			# changing while we use it
-			for k, v in addToCache
+			for k, v of addToCache
 				cache.set(k, v)
 
 			logger.log hits: hits, total: words.length, hitrate: hits/words.length, "cache hit rate"