Browse files

Remove compile to example for comprehensions

  • Loading branch information...
1 parent dd702ff commit 0848718c6f0b2749876b1faad13bcd61631624a8 @skalnik committed Jun 8, 2011
Showing with 1 addition and 14 deletions.
  1. +1 −14 coffeescript/features.md
View
15 coffeescript/features.md
@@ -177,22 +177,9 @@
'cheese',
'wine']
-##Compiles to##
-
- @@@javascript
- var food, _i, _len, _ref;
- _ref = ['toast', 'cheese', 'wine'];
- for(_i = 0, _len = _ref.length; _i < _len;
- _i++) {
- food = _ref[_i];
- eat(food);
- }
-
-!SLIDE
-
- @@@javascript
shortNames = (name for name in list
when name.length < 5)
+
evens = (x for x in [0..10] by 2)
!SLIDE bullets incremental

0 comments on commit 0848718

Please sign in to comment.