zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f1144705ece4c94011078268262ff8c97bc302df

commit f1144705ece4c94011078268262ff8c97bc302df
Author: Stefan Schmidt <[email protected]>
Date:   Tue Dec 24 09:23:14 2019 -0500

    examples: js: ensure we finish all statements with a semicolon
    
    Summary:
    JS interpreters seems to be forgiving for these but the majority of the
    js code examples already use semicolons. Make it consistent and fix up
    the missing places.
    
    Reported-By: https://lgtm.com/projects/g/Enlightenment/efl
    
    Reviewers: felipealmeida, zmike
    
    Reviewed By: zmike
    
    Subscribers: zmike, cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10882
---
 src/examples/elementary/bg_example_01.js      | 2 +-
 src/examples/elementary/button_example_01.js  | 4 ++--
 src/examples/elementary/twitter_example_01.js | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/examples/elementary/bg_example_01.js 
b/src/examples/elementary/bg_example_01.js
index 410cb3a230..f8d98376ab 100644
--- a/src/examples/elementary/bg_example_01.js
+++ b/src/examples/elementary/bg_example_01.js
@@ -6,7 +6,7 @@ win.setText("Bg Plain");
 win.setAutohide(true);
 
 bg = new efl.Elm.Bg(win);
-bg.setColor(255, 0,0,255)
+bg.setColor(255, 0,0,255);
 bg.setHintWeight(1.0, 1.0);
 win.setContent(bg);
 bg.setVisible(true);
diff --git a/src/examples/elementary/button_example_01.js 
b/src/examples/elementary/button_example_01.js
index f2f3a7d75a..2f540220d0 100644
--- a/src/examples/elementary/button_example_01.js
+++ b/src/examples/elementary/button_example_01.js
@@ -144,7 +144,7 @@ up.setHintWeight(1.0, 0.0);
 up.setHintAlign(-1.0, 0.0);
 box.packEnd(up);
 up.setVisible(true);
-up.on('repeated', _btn_cursors_move)
+up.on('repeated', _btn_cursors_move);
 up.on('unpressed', _btn_cursors_release);
 icon_up = new efl.Efl.Ui.Image(win);
 icon_up.setIcon("arrow_up");
@@ -164,7 +164,7 @@ left.setHintWeight(0.0, 1.0);
 left.setHintAlign(0.0, -1.0);
 box_inferior.packEnd(left);
 left.setVisible(true);
-left.on('repeated', _btn_cursors_move)
+left.on('repeated', _btn_cursors_move);
 left.on('unpressed', _btn_cursors_release);
 
 icon_left = new efl.Efl.Ui.Image(win);
diff --git a/src/examples/elementary/twitter_example_01.js 
b/src/examples/elementary/twitter_example_01.js
index 04edbdd3ae..ba00b05900 100644
--- a/src/examples/elementary/twitter_example_01.js
+++ b/src/examples/elementary/twitter_example_01.js
@@ -10,7 +10,7 @@ fs = require('fs');
 request = require('request');
 Twitter = require('twitter');
 
-user_acount = 'EnlightenmentKo'
+user_acount = 'EnlightenmentKo';
 
 var twit = new Twitter({
   consumer_key: '', // replace with consumer_key

-- 


Reply via email to