Skip to content

Commit 17b2e85

Browse files
author
David Tai
committed
correct loop type for cs
1 parent 8a54ca3 commit 17b2e85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/view.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ setPrototypeOf = (()->
55
obj.__proto__ = proto
66

77
mixinProperties = (obj, proto)->
8-
for prop in proto
8+
for prop of proto
99
obj[prop] = proto[prop] if !obj[prop]?
1010

1111
return if Object.setPrototypeOf || {__proto__:[]} instanceof Array then setProtoOf else mixinProperties

0 commit comments

Comments
 (0)