Преглед изворни кода

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"