Skip to content
Browse files

for -> while

  • Loading branch information...
1 parent d18ee3a commit b27fa961b5d1ae393d87e3c0b9db7267d84768c6 @olegp committed Sep 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/twitter.js
View
2 examples/twitter.js
@@ -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.
Something went wrong with that request. Please try again.