Being a tiny bit more idiomatic about CoffeeScript ranges.

This commit is contained in:
Nick Winter 2015-02-23 15:03:48 -08:00
parent 6d9e7a76ce
commit 0f6404fea1

View file

@ -52,7 +52,7 @@ module.exports = class ComponentsTabView extends CocoView
return res
res = {}
res[treemaData[key].original] = treemaData[key] for key in [0..treemaData.length-1]
res[treemaData[key].original] = treemaData[key] for key in [0 ... treemaData.length]
treemaData = (value for key, value of res) # Removing duplicates from treemaData
treemaOptions =