WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=16fa2ee0b93e6da08398f9bee2664a817ddbbd42
commit 16fa2ee0b93e6da08398f9bee2664a817ddbbd42 Author: Larry de Oliveira Lira Junior <[email protected]> Date: Thu Dec 10 11:42:39 2015 -0800 Wiki page javascript_tutorial changed with summary [] by Larry de Oliveira Lira Junior --- pages/tutorial/javascript_tutorial.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pages/tutorial/javascript_tutorial.txt b/pages/tutorial/javascript_tutorial.txt index 62bfea9..4307d79 100644 --- a/pages/tutorial/javascript_tutorial.txt +++ b/pages/tutorial/javascript_tutorial.txt @@ -165,9 +165,7 @@ twit.get('statuses/user_timeline', {screen_name: user_acount, count:10}, </code> -Make a new file stream with ''fs.createWriteStream''and download image to file using ''request'' module -registe a ''_img_load'' callback in down -load finish +Make a new file stream with ''fs.createWriteStream''and download image to file using ''request'' module to register a ''_img_load'' callback when download has finished <code javascript> file = fs.createWriteStream('/tmp/twitter_pic.jpg'); file.on('finish', _img_load); --
