hyperdeck-js-lib
Advanced tools
Comparing version 1.6.0 to 1.7.0
{ | ||
"name": "hyperdeck-js-lib", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "A javascript library for communication with the Blackmagic Hyperdeck.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -41,2 +41,14 @@ var util = require('util'); | ||
this.jogTo = function(timecode) { | ||
return this.makeRequest('jog: timecode: ' + timecode); | ||
}; | ||
this.jogForward = function(timecode) { | ||
return this.makeRequest('jog: timecode: +' + timecode); | ||
}; | ||
this.jogBackwards = function(timecode) { | ||
return this.makeRequest('jog: timecode: -' + timecode); | ||
}; | ||
this.slotInfo = function (id) { | ||
@@ -43,0 +55,0 @@ if (typeof id === 'number') { |
@@ -143,4 +143,4 @@ var ResponseHandler = require('../../src/hyperdeck/response-handler'); | ||
}); | ||
COMBINED_RESPONSE.split('').forEach(function(char) { | ||
socket.write(char); | ||
COMBINED_RESPONSE.split('').forEach(function(letter) { | ||
socket.write(letter); | ||
}); | ||
@@ -173,2 +173,2 @@ }); | ||
} | ||
}; | ||
}; |
46503
1045