summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-12-24 09:23:29 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-12-24 09:23:29 -0500
commit3eef6af97d38bd1eb37886564c48383e484fdcda (patch)
treec9bdb2c029a5514b667977dcd634c1be263b654d /src/examples
parent9144e4dae7a84d53ff6d69e43ef34ad13ba298d3 (diff)
examples: js: use correct var to display user name
Summary: screen_name was used to for both displays, user name and screen name. Fix this typo and make sure the user_name variable is actually used. Depends on D10886 Reported-By: https://lgtm.com/projects/g/Enlightenment/efl Reviewers: felipealmeida, ProhtMeyhet, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10934
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/elementary/twitter_example_01.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/twitter_example_01.js b/src/examples/elementary/twitter_example_01.js
index b6c40915be..46237aa2db 100644
--- a/src/examples/elementary/twitter_example_01.js
+++ b/src/examples/elementary/twitter_example_01.js
@@ -52,7 +52,7 @@ twit.get('statuses/user_timeline', {screen_name: user_acount, count:10}, functio
52 var filename = path.join(__dirname, 'twitter_example_01.edj'); 52 var filename = path.join(__dirname, 'twitter_example_01.edj');
53 layout.setFile(filename, "tweet"); 53 layout.setFile(filename, "tweet");
54 54
55 layout.setPartText("user_name", screen_name); 55 layout.setPartText("user_name", user_name);
56 layout.setPartText("screen_name", " - @"+screen_name); 56 layout.setPartText("screen_name", " - @"+screen_name);
57 57
58 var entry = new efl.Elm.Entry(win); 58 var entry = new efl.Elm.Entry(win);