WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=965abd6cf9c60d273c0828ad2fe17e4dfbe4d1ec
commit 965abd6cf9c60d273c0828ad2fe17e4dfbe4d1ec Author: Larry de Oliveira Lira Junior <[email protected]> Date: Fri Dec 11 08:22:21 2015 -0800 Wiki page javascript_tutorial changed with summary [] by Larry de Oliveira Lira Junior --- pages/tutorial/javascript_tutorial.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/tutorial/javascript_tutorial.txt b/pages/tutorial/javascript_tutorial.txt index 48703f3..9266914 100644 --- a/pages/tutorial/javascript_tutorial.txt +++ b/pages/tutorial/javascript_tutorial.txt @@ -158,7 +158,7 @@ box.packEnd(list); list.setVisible(true); </code> -Get twitter user timeline asynchronous, using callback +Getting twitter user timeline asynchronous, using callback <code javascript> twit.get('statuses/user_timeline', {screen_name: user_acount, count:10}, function(error, tweets, response) { @@ -174,7 +174,7 @@ Make a new file stream with ''fs.createWriteStream'', download the image to file } </code> -For each tweet we make a new Elm.Layout and set a theme using ''setfile'', ''setText'' is used to define a new text to Edje elements in theme. To have a formatted text we used Elm.Entry to main tweet text and added this widget into theme using ''setContent'' layout method +For each tweet we make a new Elm.Layout and set a theme using ''setfile'', ''setText'' is used to define a new text to Edje elements in theme. To have a formatted text we use Elm.Entry to main tweet text and add this widget into theme using ''setContent'' layout method <code javascript> for(i=0; i < tweets.length; i++){ var layout = new elm.Elm.Layout(win); @@ -188,7 +188,7 @@ For each tweet we make a new Elm.Layout and set a theme using ''setfile'', ''set layout.contentSet("tweet_text", entry); </code> -Add a layout widget to Elm.List and call ''list.go()'' start to display the list properly. +Add a layout widget to Elm.List and call ''list.go()'' to start displaying the list properly. <code javascript> item = list.itemAppend("", layout, null, null, null); } --
