You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/01/03 18:33:46 UTC
[5/6] guacamole-client git commit: GUACAMOLE-237: Make standard
comments instead of JSDoc comments.
GUACAMOLE-237: Make standard comments instead of JSDoc comments.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/e1443d87
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/e1443d87
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/e1443d87
Branch: refs/heads/master
Commit: e1443d87b9955927394aa73323b4fe039ebf46f2
Parents: f0a658b
Author: Nick Couchman <vn...@apache.org>
Authored: Wed Jan 3 13:07:24 2018 -0500
Committer: Nick Couchman <vn...@apache.org>
Committed: Wed Jan 3 13:07:24 2018 -0500
----------------------------------------------------------------------
.../src/main/webapp/modules/AudioRecorder.js | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/e1443d87/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js b/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
index c1bb4eb..d91bf50 100644
--- a/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
+++ b/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
@@ -181,19 +181,15 @@ Guacamole.RawAudioRecorder = function RawAudioRecorder(stream, mimetype) {
*/
var context = Guacamole.AudioContextFactory.getAudioContext();
- /**
- * Some browsers do not implement navigator.mediaDevices - this
- * shims in this functionality to ensure code compatibility.
- */
+ // Some browsers do not implement navigator.mediaDevices - this
+ // shims in this functionality to ensure code compatibility.
if (!navigator.mediaDevices)
navigator.mediaDevices = {};
- /**
- * Browsers that either do not implement navigator.mediaDevices
- * at all or do not implement it completely need the getUserMedia
- * method defined. This shims in this function by detecting
- * one of the supported legacy methods.
- */
+ // Browsers that either do not implement navigator.mediaDevices
+ // at all or do not implement it completely need the getUserMedia
+ // method defined. This shims in this function by detecting
+ // one of the supported legacy methods.
if (!navigator.mediaDevices.getUserMedia)
navigator.mediaDevices.getUserMedia = (navigator.getUserMedia
|| navigator.webkitGetUserMedia