First draft of switching the CoffeeScript Compiler over to camelCase. Pour one on the ground for underscores...

This commit is contained in:
Jeremy Ashkenas
2010-06-12 19:05:13 -04:00
parent 1948b0c7c7
commit e14f4c5db1
57 changed files with 1243 additions and 1243 deletions

View File

@@ -6,13 +6,13 @@ result: func 1, 2, 3, 4, 5
ok result is "3 4 5"
gold: silver: bronze: the_field: last: null
gold: silver: bronze: theField: last: null
medalists: (first, second, third, rest..., unlucky) ->
gold: first
silver: second
bronze: third
the_field: rest.concat([last])
theField: rest.concat([last])
last: unlucky
contenders: [
@@ -34,7 +34,7 @@ ok gold is "Mighty Mouse"
ok silver is "Michael Phelps"
ok bronze is "Liu Xiang"
ok last is "Usain Bolt"
ok the_field.length is 8
ok theField.length is 8
contenders.reverse()
medalists contenders[0...2]..., "Mighty Mouse", contenders[2...contenders.length]...
@@ -43,7 +43,7 @@ ok gold is "Usain Bolt"
ok silver is "Asafa Powell"
ok bronze is "Mighty Mouse"
ok last is "Michael Phelps"
ok the_field.length is 8
ok theField.length is 8
medalists contenders..., 'Tim', 'Moe', 'Jim'
ok last is 'Jim'