Permalink
Browse files

for -> while

  • Loading branch information...
olegp committed Sep 29, 2011
1 parent d18ee3a commit b27fa961b5d1ae393d87e3c0b9db7267d84768c6
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/twitter.js
View
@@ -25,7 +25,7 @@ var stream = new TextStream(new HttpClient({
}).finish().body);
var line;
-for(;;) {
+while(true) {
// returns an empty string in case of EOF or '\n' in case of empty line
line = stream.readLine();
// EOF

0 comments on commit b27fa96

Please sign in to comment.