aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Blott2016-02-16 14:12:16 +0000
committerStephen Blott2016-02-16 14:12:16 +0000
commit8e3ac1867b7577814865bf1cb40d0b865de30b1a (patch)
tree53279879b1549a597b71de93530d0feb8ab6f044 /lib
parentceada9cdf8cb97c35b4871553e3c8b642c4806ef (diff)
parent56fed2ac6663d99ca03023f3ffa313c51de5fe32 (diff)
downloadvimium-8e3ac1867b7577814865bf1cb40d0b865de30b1a.tar.bz2
Merge pull request #1994 from mrmr1993/correct-loop-types-2
Use `for own ... of` instead of `for ... of`
Diffstat (limited to 'lib')
-rw-r--r--lib/utils.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index 50d8c7dd..9969811a 100644
--- a/lib/utils.coffee
+++ b/lib/utils.coffee
@@ -285,7 +285,7 @@ String::reverse = -> @split("").reverse().join ""
globalRoot = window ? global
globalRoot.extend = (hash1, hash2) ->
- for key of hash2
+ for own key of hash2
hash1[key] = hash2[key]
hash1