mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 07:40:22 -04:00
Being a tiny bit more idiomatic about CoffeeScript ranges.
This commit is contained in:
parent
6d9e7a76ce
commit
0f6404fea1
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Reference in a new issue