Commit 686ad14aeeb90ffd6f8dee7007ed2f4f0b17638d

Authored by dhuy
1 parent 4e755e9f
Exists in master and in 1 other branch devel

Refactoring the source code of endpoints files

endpoints/video.js
... ... @@ -47,9 +47,9 @@ function init(req, res) {
47 47 /* Executa a linha de comando */
48 48 child = exec(command_line, function(err, stdout, stderr) {
49 49 // [stdout] = vlibras-core output
50   - console.log('Err: ' + err);
51   - console.log('STDOUT: ' + stdout);
52   - console.log('STDERR: ' + stderr);
  50 + // console.log('Err: ' + err);
  51 + // console.log('STDOUT: ' + stdout);
  52 + // console.log('STDERR: ' + stderr);
53 53 });
54 54  
55 55 if (req.body.callback === undefined) {
... ...
endpoints/video_legenda.js
... ... @@ -59,9 +59,9 @@ function init(req, res) {
59 59 /* Executa a linha de comando */
60 60 child = exec(command_line, function(err, stdout, stderr) {
61 61 // [stdout] = vlibras-core output
62   - console.log('Err: ' + err);
63   - console.log('STDOUT: ' + stdout);
64   - console.log('STDERR: ' + stderr);
  62 + // console.log('Err: ' + err);
  63 + // console.log('STDOUT: ' + stdout);
  64 + // console.log('STDERR: ' + stderr);
65 65 });
66 66  
67 67 if (req.body.callback === undefined) {
... ...