You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2016/08/26 21:35:02 UTC

[1/2] cordova-paramedic git commit: Fixed typo and grammar

Repository: cordova-paramedic
Updated Branches:
  refs/heads/master d9752168b -> 4daf71e5b


Fixed typo and grammar


Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/fe6d2b7d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/fe6d2b7d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/fe6d2b7d

Branch: refs/heads/master
Commit: fe6d2b7de70eea4c8da5f6ba9f9b376c3ddfffa1
Parents: d975216
Author: Shazron Abdullah <sh...@apache.org>
Authored: Fri Aug 26 14:32:38 2016 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Aug 26 14:32:38 2016 -0700

----------------------------------------------------------------------
 paramedic-plugin/paramedic.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/fe6d2b7d/paramedic-plugin/paramedic.js
----------------------------------------------------------------------
diff --git a/paramedic-plugin/paramedic.js b/paramedic-plugin/paramedic.js
index d2c6930..e2884b0 100644
--- a/paramedic-plugin/paramedic.js
+++ b/paramedic-plugin/paramedic.js
@@ -31,7 +31,7 @@ Paramedic.prototype.initialize = function() {
     this.socket = io.connect(connectionUri);
 
     this.socket.on('connect', function () {
-        console.log('Paramedic has been susccessfully connected to server');
+        console.log('Paramedic has been successfully connected to the server');
         if (typeof device != 'undefined') me.socket.emit('deviceInfo', device);
     });
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/2] cordova-paramedic git commit: CB-11775 - Fix jshint failures

Posted by sh...@apache.org.
CB-11775 - Fix jshint failures


Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/4daf71e5
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/4daf71e5
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/4daf71e5

Branch: refs/heads/master
Commit: 4daf71e5bc10fb6c2913972b505faba619fdb429
Parents: fe6d2b7
Author: Shazron Abdullah <sh...@apache.org>
Authored: Fri Aug 26 14:38:58 2016 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Aug 26 14:38:58 2016 -0700

----------------------------------------------------------------------
 .jshintignore                          |  1 +
 lib/appium/helpers/screenshotHelper.js | 10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/4daf71e5/.jshintignore
----------------------------------------------------------------------
diff --git a/.jshintignore b/.jshintignore
new file mode 100644
index 0000000..2818ce9
--- /dev/null
+++ b/.jshintignore
@@ -0,0 +1 @@
+lib/appium/helpers/lib/q.min.js
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/4daf71e5/lib/appium/helpers/screenshotHelper.js
----------------------------------------------------------------------
diff --git a/lib/appium/helpers/screenshotHelper.js b/lib/appium/helpers/screenshotHelper.js
index dab6d75..a544ea0 100644
--- a/lib/appium/helpers/screenshotHelper.js
+++ b/lib/appium/helpers/screenshotHelper.js
@@ -33,11 +33,11 @@ function generateScreenshotName() {
     var min = date.getMinutes();
     var sec = date.getSeconds();
 
-    month = (month < 10 ? "0" : "") + month;
-    day = (day < 10 ? "0" : "") + day;
-    hour = (hour < 10 ? "0" : "") + hour;
-    min = (min < 10 ? "0" : "") + min;
-    sec = (sec < 10 ? "0" : "") + sec;
+    month = (month < 10 ? '0' : '') + month;
+    day = (day < 10 ? '0' : '') + day;
+    hour = (hour < 10 ? '0' : '') + hour;
+    min = (min < 10 ? '0' : '') + min;
+    sec = (sec < 10 ? '0' : '') + sec;
 
     return date.getFullYear() + '-' + month + '-' + day + '_' +  hour + '.' + min + '.' + sec + '.png';
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org