Remove verbose logging of keyboard messages in edit.js and gridTool.js

This commit is contained in:
Ryan Huffman 2018-09-19 15:06:58 -07:00
parent 3b1e0dc7d9
commit 8805ce49e3
2 changed files with 1 additions and 4 deletions

View file

@ -2134,9 +2134,7 @@ var PropertiesTool = function (opts) {
var onWebEventReceived = function(data) {
try {
data = JSON.parse(data);
}
catch(e) {
print('Edit.js received web event that was not valid json.');
} catch(e) {
return;
}
var i, properties, dY, diff, newPosition;

View file

@ -267,7 +267,6 @@ GridTool = function(opts) {
try {
data = JSON.parse(data);
} catch (e) {
print("gridTool.js: Error parsing JSON: " + e.name + " data " + data);
return;
}